#D173E4

Closest named color: Orchid (#DA70D6). oklch(70.2% 0.184 320.7), rgb(209, 115, 228).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (70%)
Chromavivid (0.184)
Temperaturein between
Nearest nameOrchid (#DA70D6)
Black text7.28:1
White text2.88:1

Values

HEX#D173E4
RGBrgb(209, 115, 228)
HSLhsl(290, 68%, 67%)
OKLCHoklch(70.2% 0.184 320.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 #D173E4 2.88:1 Fails Lc -60.0 Large or bold text, headings
Black text on #D173E4 7.28:1 AAA Lc 49.4 Large or bold text, headings
#D173E4 text on white 2.88:1 Fails Lc 54.7 Large or bold text, headings
#D173E4 text on black 7.28:1 AAA Lc -47.1 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

    #F4E3F8

    oklch(93.6% 0.033 319.8)

  3. Step 200

    200

    #EDCCF3

    oklch(88.5% 0.063 321.1)

  4. Step 300

    300

    #E2A8EE

    oklch(80.9% 0.115 320.5)

  5. Step 400

    400 (this color)

    #D173E4

    oklch(70.2% 0.184 320.7)

  6. Step 500

    500

    #C547DE

    oklch(63.1% 0.236 320.5)

  7. Step 600

    600

    #B115CB

    oklch(55.6% 0.256 320.8)

  8. Step 700

    700

    #9700AF

    oklch(49.1% 0.235 320.6)

  9. Step 800

    800

    #7B0A8E

    oklch(42.6% 0.197 320.7)

  10. Step 900

    900

    #641872

    oklch(37.8% 0.154 320.8)

  11. Step 950

    950

    #3A1143

    oklch(27% 0.097 319.9)

Export this scale for Tailwind in the Tailwind colors tool

#D173E4 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)#6191E80.170
Deuteranopia (no green cones)#7D9CE10.152
Tritanopia (no blue cones)#D382A10.115
Achromatopsia (no color)#9898980.186

Harmonies

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

Complementary

The opposite hue (180°).

  • #D173E4

    #D173E4

    oklch(70.2% 0.184 320.7)

  • #54BA42

    #54BA42

    oklch(70.3% 0.185 140.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D173E4

    #D173E4

    oklch(70.2% 0.184 320.7)

  • #A189FF

    #A189FF

    oklch(70.3% 0.168 290.8)

  • #F067AE

    #F067AE

    oklch(70.3% 0.184 350.6)

Open the analogous palette in the generator

Split complementary

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

  • #D173E4

    #D173E4

    oklch(70.2% 0.184 320.7)

  • #A5A700

    #A5A700

    oklch(70.3% 0.154 110.6)

  • #00BA93

    #00BA93

    oklch(70.2% 0.138 170.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D173E4

    #D173E4

    oklch(70.2% 0.184 320.7)

  • #CD9300

    #CD9300

    oklch(70.1% 0.145 80.4)

  • #00B5BD

    #00B5BD

    oklch(70.3% 0.12 200.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D173E4

    #D173E4

    oklch(70.2% 0.184 320.7)

  • #F57500

    #F57500

    oklch(70.2% 0.184 50.6)

  • #54BA42

    #54BA42

    oklch(70.3% 0.185 140.8)

  • #00ADE6

    #00ADE6

    oklch(70.1% 0.141 231)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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