#D158E1

Closest named color: Heliotrope (#D94FF5). oklch(66.6% 0.222 322.8), rgb(209, 88, 225).

Aa

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

About this color

#D158E1 is a medium-light, vivid purple. In OKLCH its lightness is 67%, its chroma 0.222 and its hue 323°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Heliotrope (#D94FF5), ΔE 0.036 away. Black text reads best on it, at 6.19:1.

Hue familyPurples
Lightnessmedium-light (67%)
Chromavivid (0.222)
Temperaturein between
Nearest nameHeliotrope (#D94FF5)
Black text6.19:1
White text3.39:1

Values

HEX#D158E1
RGBrgb(209, 88, 225)
HSLhsl(293, 70%, 61%)
OKLCHoklch(66.6% 0.222 322.8)

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 #D158E1 3.39:1 AA large text Lc -66.1 Content text, not long reading
Black text on #D158E1 6.19:1 AA Lc 43.4 Non-text elements, placeholder text
#D158E1 text on white 3.39:1 AA large text Lc 60.6 Content text, not long reading
#D158E1 text on black 6.19:1 AA Lc -41.1 Non-text elements, placeholder text

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

  1. Step 50

    50

    #FAF2FB

    oklch(97% 0.015 322.3)

  2. Step 100

    100

    #F5E3F6

    oklch(93.6% 0.032 324.2)

  3. Step 200

    200

    #EDCCF1

    oklch(88.4% 0.061 322.6)

  4. Step 300

    300

    #E3A9EA

    oklch(81% 0.109 322.9)

  5. Step 400

    400

    #D377DF

    oklch(70.8% 0.174 322.8)

  6. Step 500

    500 (this color)

    #D158E1

    oklch(66.6% 0.222 322.8)

  7. Step 600

    600

    #B123C2

    oklch(55.7% 0.241 323.1)

  8. Step 700

    700

    #970FA8

    oklch(49.1% 0.224 322.6)

  9. Step 800

    800

    #7B1488

    oklch(42.7% 0.186 322.8)

  10. Step 900

    900

    #631C6D

    oklch(37.7% 0.144 322.5)

  11. Step 950

    950

    #3A1240

    oklch(26.9% 0.092 322.2)

Export this scale for Tailwind in the Tailwind colors tool

#D158E1 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)#3C82E50.221
Deuteranopia (no green cones)#6B90DD0.190
Tritanopia (no blue cones)#D46D950.133
Achromatopsia (no color)#8B8B8B0.224

Harmonies

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

Complementary

The opposite hue (180°).

  • #D158E1

    #D158E1

    oklch(66.6% 0.222 322.8)

  • #09B313

    #09B313

    oklch(66.5% 0.222 142.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D158E1

    #D158E1

    oklch(66.6% 0.222 322.8)

  • #9B76FF

    #9B76FF

    oklch(66.6% 0.196 292.8)

  • #F246A0

    #F246A0

    oklch(66.6% 0.222 352.8)

Open the analogous palette in the generator

Split complementary

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

  • #D158E1

    #D158E1

    oklch(66.6% 0.222 322.8)

  • #969C00

    #969C00

    oklch(66.5% 0.148 112.5)

  • #00AD8C

    #00AD8C

    oklch(66.6% 0.128 172.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D158E1

    #D158E1

    oklch(66.6% 0.222 322.8)

  • #BD8B00

    #BD8B00

    oklch(66.7% 0.137 82.9)

  • #00A8B3

    #00A8B3

    oklch(66.7% 0.114 203.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D158E1

    #D158E1

    oklch(66.6% 0.222 322.8)

  • #E17000

    #E17000

    oklch(66.6% 0.169 52.9)

  • #09B313

    #09B313

    oklch(66.5% 0.222 142.8)

  • #00A1DA

    #00A1DA

    oklch(66.7% 0.137 232.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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