#D158E2

Closest named color: Heliotrope (#D94FF5). oklch(66.7% 0.223 322.6), rgb(209, 88, 226).

Aa

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

About this color

#D158E2 is a medium-light, vivid purple. In OKLCH its lightness is 67%, its chroma 0.223 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.035 away. Black text reads best on it, at 6.20:1.

Hue familyPurples
Lightnessmedium-light (67%)
Chromavivid (0.223)
Temperaturein between
Nearest nameHeliotrope (#D94FF5)
Black text6.20:1
White text3.38:1

Values

HEX#D158E2
RGBrgb(209, 88, 226)
HSLhsl(293, 70%, 62%)
OKLCHoklch(66.7% 0.223 322.6)

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 #D158E2 3.38:1 AA large text Lc -66.0 Content text, not long reading
Black text on #D158E2 6.20:1 AA Lc 43.5 Non-text elements, placeholder text
#D158E2 text on white 3.38:1 AA large text Lc 60.6 Content text, not long reading
#D158E2 text on black 6.20: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

    #F4E3F6

    oklch(93.5% 0.031 322.6)

  3. Step 200

    200

    #EDCCF1

    oklch(88.4% 0.061 322.6)

  4. Step 300

    300

    #E2A9EA

    oklch(80.9% 0.108 322.3)

  5. Step 400

    400

    #D277DF

    oklch(70.7% 0.174 322.5)

  6. Step 500

    500 (this color)

    #D158E2

    oklch(66.7% 0.223 322.6)

  7. Step 600

    600

    #B022C3

    oklch(55.5% 0.242 322.5)

  8. Step 700

    700

    #970EA8

    oklch(49% 0.225 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

#D158E2 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)#3B83E60.221
Deuteranopia (no green cones)#6A90DE0.191
Tritanopia (no blue cones)#D46D950.134
Achromatopsia (no color)#8C8C8C0.224

Harmonies

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

Complementary

The opposite hue (180°).

  • #D158E2

    #D158E2

    oklch(66.7% 0.223 322.6)

  • #0EB30E

    #0EB30E

    oklch(66.6% 0.222 142.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D158E2

    #D158E2

    oklch(66.7% 0.223 322.6)

  • #9B77FF

    #9B77FF

    oklch(66.8% 0.194 292.6)

  • #F246A1

    #F246A1

    oklch(66.6% 0.222 352.5)

Open the analogous palette in the generator

Split complementary

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

  • #D158E2

    #D158E2

    oklch(66.7% 0.223 322.6)

  • #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.

  • #D158E2

    #D158E2

    oklch(66.7% 0.223 322.6)

  • #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.

  • #D158E2

    #D158E2

    oklch(66.7% 0.223 322.6)

  • #E27000

    #E27000

    oklch(66.7% 0.17 52.7)

  • #0EB30E

    #0EB30E

    oklch(66.6% 0.222 142.6)

  • #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 #D158E2, closest first.

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

Similar named colors

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

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