#D172E1

Closest named color: Orchid (#DA70D6). oklch(69.9% 0.183 321.7), rgb(209, 114, 225).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (70%)
Chromavivid (0.183)
Temperaturein between
Nearest nameOrchid (#DA70D6)
Black text7.20:1
White text2.91:1

Values

HEX#D172E1
RGBrgb(209, 114, 225)
HSLhsl(291, 65%, 66%)
OKLCHoklch(69.9% 0.183 321.7)

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 #D172E1 2.91:1 Fails Lc -60.4 Content text, not long reading
Black text on #D172E1 7.20:1 AAA Lc 48.9 Large or bold text, headings
#D172E1 text on white 2.91:1 Fails Lc 55.1 Large or bold text, headings
#D172E1 text on black 7.20:1 AAA Lc -46.7 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

    #FAF2FC

    oklch(97% 0.016 319.4)

  2. Step 100

    100

    #F5E3F7

    oklch(93.6% 0.033 322.8)

  3. Step 200

    200

    #EDCCF3

    oklch(88.5% 0.063 321.1)

  4. Step 300

    300

    #E3A8ED

    oklch(80.9% 0.114 321.5)

  5. Step 400

    400 (this color)

    #D172E1

    oklch(69.9% 0.183 321.7)

  6. Step 500

    500

    #C647DB

    oklch(63% 0.233 321.7)

  7. Step 600

    600

    #B216C9

    oklch(55.7% 0.254 321.7)

  8. Step 700

    700

    #9800AD

    oklch(49.1% 0.234 321.5)

  9. Step 800

    800

    #7C0B8C

    oklch(42.7% 0.195 321.9)

  10. Step 900

    900

    #641870

    oklch(37.7% 0.152 321.8)

  11. Step 950

    950

    #3B1142

    oklch(27.1% 0.097 321.7)

Export this scale for Tailwind in the Tailwind colors tool

#D172E1 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)#6190E50.171
Deuteranopia (no green cones)#7E9BDE0.152
Tritanopia (no blue cones)#D3819F0.114
Achromatopsia (no color)#9797970.184

Harmonies

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

Complementary

The opposite hue (180°).

  • #D172E1

    #D172E1

    oklch(69.9% 0.183 321.7)

  • #50B945

    #50B945

    oklch(69.9% 0.183 141.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D172E1

    #D172E1

    oklch(69.9% 0.183 321.7)

  • #A286FF

    #A286FF

    oklch(69.9% 0.173 292)

  • #EF66AB

    #EF66AB

    oklch(69.9% 0.183 351.5)

Open the analogous palette in the generator

Split complementary

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

  • #D172E1

    #D172E1

    oklch(69.9% 0.183 321.7)

  • #A2A600

    #A2A600

    oklch(69.8% 0.154 111.5)

  • #00B994

    #00B994

    oklch(70% 0.136 171.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D172E1

    #D172E1

    oklch(69.9% 0.183 321.7)

  • #CB9300

    #CB9300

    oklch(69.9% 0.144 81.3)

  • #00B4BD

    #00B4BD

    oklch(70% 0.119 201.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D172E1

    #D172E1

    oklch(69.9% 0.183 321.7)

  • #F27600

    #F27600

    oklch(69.9% 0.181 51.6)

  • #50B945

    #50B945

    oklch(69.9% 0.183 141.8)

  • #00ACE6

    #00ACE6

    oklch(69.9% 0.142 231.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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