#D171DD

Closest named color: Orchid (#DA70D6). oklch(69.6% 0.181 323), rgb(209, 113, 221).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (70%)
Chromavivid (0.181)
Temperaturein between
Nearest nameOrchid (#DA70D6)
Black text7.11:1
White text2.95:1

Values

HEX#D171DD
RGBrgb(209, 113, 221)
HSLhsl(293, 61%, 65%)
OKLCHoklch(69.6% 0.181 323)

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 #D171DD 2.95:1 Fails Lc -60.9 Content text, not long reading
Black text on #D171DD 7.11:1 AAA Lc 48.4 Large or bold text, headings
#D171DD text on white 2.95:1 Fails Lc 55.6 Large or bold text, headings
#D171DD text on black 7.11:1 AAA Lc -46.2 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

    #FBF2FB

    oklch(97.1% 0.015 325.7)

  2. Step 100

    100

    #F5E3F7

    oklch(93.6% 0.033 322.8)

  3. Step 200

    200

    #EECCF2

    oklch(88.5% 0.063 322.7)

  4. Step 300

    300

    #E4A8EB

    oklch(80.9% 0.113 323)

  5. Step 400

    400 (this color)

    #D171DD

    oklch(69.6% 0.181 323)

  6. Step 500

    500

    #C847D8

    oklch(63.1% 0.232 323.1)

  7. Step 600

    600

    #B317C5

    oklch(55.6% 0.251 323)

  8. Step 700

    700

    #9900AA

    oklch(49.1% 0.232 322.8)

  9. Step 800

    800

    #7D0C8A

    oklch(42.7% 0.194 323)

  10. Step 900

    900

    #65186E

    oklch(37.7% 0.151 323.3)

  11. Step 950

    950

    #3B1141

    oklch(27% 0.096 322.5)

Export this scale for Tailwind in the Tailwind colors tool

#D171DD 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)#628FE10.170
Deuteranopia (no green cones)#7F9ADA0.151
Tritanopia (no blue cones)#D47F9D0.110
Achromatopsia (no color)#9696960.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #D171DD

    #D171DD

    oklch(69.6% 0.181 323)

  • #4BB849

    #4BB849

    oklch(69.5% 0.181 143)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D171DD

    #D171DD

    oklch(69.6% 0.181 323)

  • #A384FF

    #A384FF

    oklch(69.6% 0.176 292.9)

  • #EE66A7

    #EE66A7

    oklch(69.7% 0.18 353)

Open the analogous palette in the generator

Split complementary

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

  • #D171DD

    #D171DD

    oklch(69.6% 0.181 323)

  • #9FA600

    #9FA600

    oklch(69.6% 0.155 112.8)

  • #00B795

    #00B795

    oklch(69.5% 0.133 173.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D171DD

    #D171DD

    oklch(69.6% 0.181 323)

  • #C89300

    #C89300

    oklch(69.6% 0.143 82.8)

  • #00B2BE

    #00B2BE

    oklch(69.6% 0.119 203.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D171DD

    #D171DD

    oklch(69.6% 0.181 323)

  • #EF7700

    #EF7700

    oklch(69.6% 0.177 52.7)

  • #4BB849

    #4BB849

    oklch(69.5% 0.181 143)

  • #00ABE7

    #00ABE7

    oklch(69.7% 0.143 232.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #D171DD.

Similar named colors

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

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