#D173CA

Closest named color: Orchid (#DA70D6). oklch(69% 0.16 329.9), rgb(209, 115, 202).

Aa

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

About this color

#D173CA is a medium-light, vivid purple. In OKLCH its lightness is 69%, its chroma 0.160 and its hue 330°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Orchid (#DA70D6), ΔE 0.025 away. Black text reads best on it, at 7.01:1.

Hue familyPurples
Lightnessmedium-light (69%)
Chromavivid (0.160)
Temperaturein between
Nearest nameOrchid (#DA70D6)
Black text7.01:1
White text2.99:1

Values

HEX#D173CA
RGBrgb(209, 115, 202)
HSLhsl(304, 51%, 64%)
OKLCHoklch(69% 0.16 329.9)

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 #D173CA 2.99:1 Fails Lc -61.6 Content text, not long reading
Black text on #D173CA 7.01:1 AAA Lc 47.8 Large or bold text, headings
#D173CA text on white 2.99:1 Fails Lc 56.2 Large or bold text, headings
#D173CA text on black 7.01:1 AAA Lc -45.5 Large or bold text, headings

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 400.

  1. Step 50

    50

    #FBF2FA

    oklch(97% 0.014 329.1)

  2. Step 100

    100

    #F6E3F3

    oklch(93.6% 0.029 330.9)

  3. Step 200

    200

    #EFCDEB

    oklch(88.6% 0.055 329.9)

  4. Step 300

    300

    #E6A9E0

    oklch(80.9% 0.101 329.8)

  5. Step 400

    400 (this color)

    #D173CA

    oklch(69% 0.16 329.9)

  6. Step 500

    500

    #CA4FC3

    oklch(63.1% 0.205 330)

  7. Step 600

    600

    #B52BAF

    oklch(55.7% 0.221 330)

  8. Step 700

    700

    #9B1A96

    oklch(49% 0.206 330)

  9. Step 800

    800

    #7E1A7A

    oklch(42.6% 0.171 329.9)

  10. Step 900

    900

    #661E62

    oklch(37.7% 0.133 330.2)

  11. Step 950

    950

    #3C133A

    oklch(27% 0.086 329.6)

Export this scale for Tailwind in the Tailwind colors tool

#D173CA 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)#6E8DCD0.157
Deuteranopia (no green cones)#889AC70.142
Tritanopia (no blue cones)#D77B950.088
Achromatopsia (no color)#9595950.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #D173CA

    #D173CA

    oklch(69% 0.16 329.9)

  • #3FB663

    #3FB663

    oklch(69% 0.16 149.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D173CA

    #D173CA

    oklch(69% 0.16 329.9)

  • #AB81EF

    #AB81EF

    oklch(68.9% 0.161 299.8)

  • #E86B97

    #E86B97

    oklch(69% 0.161 0)

Open the analogous palette in the generator

Split complementary

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

  • #D173CA

    #D173CA

    oklch(69% 0.16 329.9)

  • #90A911

    #90A911

    oklch(69.1% 0.16 119.9)

  • #00B49E

    #00B49E

    oklch(69% 0.125 179.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D173CA

    #D173CA

    oklch(69% 0.16 329.9)

  • #BD9600

    #BD9600

    oklch(69% 0.141 90.1)

  • #00AFC4

    #00AFC4

    oklch(69.1% 0.119 209.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D173CA

    #D173CA

    oklch(69% 0.16 329.9)

  • #E17F0A

    #E17F0A

    oklch(69% 0.16 59.9)

  • #3FB663

    #3FB663

    oklch(69% 0.16 149.9)

  • #00A6F2

    #00A6F2

    oklch(69.1% 0.157 239.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #D173CA 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.