#C173B2

Closest named color: Pale Magenta (#D767AD). oklch(66.1% 0.127 334.3), rgb(193, 115, 178).

Aa

Black text reads best on this color (6.36:1).

About this color

#C173B2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 66%, its chroma 0.127 and its hue 334°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Magenta (#D767AD), ΔE 0.043 away. Black text reads best on it, at 6.36:1.

Hue familyPurples
Lightnessmedium-light (66%)
Chromamoderately saturated (0.127)
Temperaturein between
Nearest namePale Magenta (#D767AD)
Black text6.36:1
White text3.30:1

Values

HEX#C173B2
RGBrgb(193, 115, 178)
HSLhsl(312, 39%, 60%)
OKLCHoklch(66.1% 0.127 334.3)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #C173B2 3.30:1 AA large text Lc -65.6 Content text, not long reading
Black text on #C173B2 6.36:1 AA Lc 43.9 Non-text elements, placeholder text
#C173B2 text on white 3.30:1 AA large text Lc 60.1 Content text, not long reading
#C173B2 text on black 6.36:1 AA Lc -41.6 Non-text elements, placeholder text

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 500.

  1. Step 50

    50

    #F9F3F8

    oklch(97% 0.009 330.9)

  2. Step 100

    100

    #F2E6EF

    oklch(93.7% 0.018 334.2)

  3. Step 200

    200

    #E8D1E3

    oklch(88.5% 0.035 333.2)

  4. Step 300

    300

    #DAB2D1

    oklch(80.8% 0.062 334.1)

  5. Step 400

    400

    #C789BA

    oklch(70.7% 0.099 334.4)

  6. Step 500

    500 (this color)

    #C173B2

    oklch(66.1% 0.127 334.3)

  7. Step 600

    600

    #A25094

    oklch(55.5% 0.138 334.1)

  8. Step 700

    700

    #8B407E

    oklch(49.1% 0.129 334.4)

  9. Step 800

    800

    #713666

    oklch(42.8% 0.105 334.8)

  10. Step 900

    900

    #5C2F53

    oklch(37.7% 0.083 335)

  11. Step 950

    950

    #361C31

    oklch(27.1% 0.053 334.4)

Export this scale for Tailwind in the Tailwind colors tool

#C173B2 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#7386B40.126
Deuteranopia (no green cones)#8792B00.115
Tritanopia (no blue cones)#C8778B0.064
Achromatopsia (no color)#8D8D8D0.128

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #C173B2

    #C173B2

    oklch(66.1% 0.127 334.3)

  • #48A96E

    #48A96E

    oklch(66.1% 0.127 154.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C173B2

    #C173B2

    oklch(66.1% 0.127 334.3)

  • #A47DD1

    #A47DD1

    oklch(66% 0.128 304.5)

  • #D26F89

    #D26F89

    oklch(66.2% 0.127 4.4)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #C173B2

    #C173B2

    oklch(66.1% 0.127 334.3)

  • #829F40

    #829F40

    oklch(66% 0.127 124.1)

  • #00A99B

    #00A99B

    oklch(66% 0.117 184.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C173B2

    #C173B2

    oklch(66.1% 0.127 334.3)

  • #AC901E

    #AC901E

    oklch(66% 0.127 93.9)

  • #00A4BE

    #00A4BE

    oklch(66.1% 0.116 214.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C173B2

    #C173B2

    oklch(66.1% 0.127 334.3)

  • #C78032

    #C78032

    oklch(66% 0.126 64.5)

  • #48A96E

    #48A96E

    oklch(66.1% 0.127 154.1)

  • #449ADA

    #449ADA

    oklch(66.2% 0.126 244)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #C173B2, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #C173B2 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.