#D173E9

Closest named color: Orchid (#DA70D6). oklch(70.5% 0.189 319.2), rgb(209, 115, 233).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (70%)
Chromavivid (0.189)
Temperaturein between
Nearest nameOrchid (#DA70D6)
Black text7.33:1
White text2.86:1

Values

HEX#D173E9
RGBrgb(209, 115, 233)
HSLhsl(288, 73%, 68%)
OKLCHoklch(70.5% 0.189 319.2)

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 #D173E9 2.86:1 Fails Lc -59.6 Large or bold text, headings
Black text on #D173E9 7.33:1 AAA Lc 49.7 Large or bold text, headings
#D173E9 text on white 2.86:1 Fails Lc 54.4 Large or bold text, headings
#D173E9 text on black 7.33:1 AAA Lc -47.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

    #FAF2FC

    oklch(97% 0.016 319.4)

  2. Step 100

    100

    #F4E3F9

    oklch(93.6% 0.034 318.5)

  3. Step 200

    200

    #EDCCF5

    oklch(88.6% 0.066 319.6)

  4. Step 300

    300

    #E2A8F1

    oklch(81% 0.118 319.2)

  5. Step 400

    400 (this color)

    #D173E9

    oklch(70.5% 0.189 319.2)

  6. Step 500

    500

    #C445E3

    oklch(63.1% 0.242 319)

  7. Step 600

    600

    #B00CD1

    oklch(55.6% 0.263 319.1)

  8. Step 700

    700

    #9500B2

    oklch(49% 0.236 319)

  9. Step 800

    800

    #7B0592

    oklch(42.7% 0.202 319.4)

  10. Step 900

    900

    #631675

    oklch(37.7% 0.159 319)

  11. Step 950

    950

    #3A1044

    oklch(26.9% 0.1 319.3)

Export this scale for Tailwind in the Tailwind colors tool

#D173E9 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)#5D92ED0.173
Deuteranopia (no green cones)#7A9CE60.154
Tritanopia (no blue cones)#D284A40.120
Achromatopsia (no color)#9999990.191

Harmonies

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

Complementary

The opposite hue (180°).

  • #D173E9

    #D173E9

    oklch(70.5% 0.189 319.2)

  • #58BA39

    #58BA39

    oklch(70.4% 0.189 139.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D173E9

    #D173E9

    oklch(70.5% 0.189 319.2)

  • #9F8BFF

    #9F8BFF

    oklch(70.5% 0.166 289.4)

  • #F166B2

    #F166B2

    oklch(70.5% 0.188 349.1)

Open the analogous palette in the generator

Split complementary

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

  • #D173E9

    #D173E9

    oklch(70.5% 0.189 319.2)

  • #A8A700

    #A8A700

    oklch(70.6% 0.153 109.3)

  • #00BB91

    #00BB91

    oklch(70.4% 0.14 169.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D173E9

    #D173E9

    oklch(70.5% 0.189 319.2)

  • #D09300

    #D09300

    oklch(70.5% 0.146 79)

  • #00B6BC

    #00B6BC

    oklch(70.5% 0.12 199)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D173E9

    #D173E9

    oklch(70.5% 0.189 319.2)

  • #F97300

    #F97300

    oklch(70.4% 0.189 49)

  • #58BA39

    #58BA39

    oklch(70.4% 0.189 139.2)

  • #00AFE4

    #00AFE4

    oklch(70.5% 0.139 228.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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