#D789EF

Closest named color: Lavender Pink (#DD85D7). oklch(74.7% 0.163 317.9), rgb(215, 137, 239).

Aa

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

About this color

#D789EF is a medium-light, vivid purple. In OKLCH its lightness is 75%, its chroma 0.163 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Pink (#DD85D7), ΔE 0.035 away. Black text reads best on it, at 8.71:1.

Hue familyPurples
Lightnessmedium-light (75%)
Chromavivid (0.163)
Temperaturein between
Nearest nameLavender Pink (#DD85D7)
Black text8.71:1
White text2.40:1

Values

HEX#D789EF
RGBrgb(215, 137, 239)
HSLhsl(286, 76%, 74%)
OKLCHoklch(74.7% 0.163 317.9)

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 #D789EF 2.40:1 Fails Lc -52.2 Large or bold text, headings
Black text on #D789EF 8.71:1 AAA Lc 56.8 Large or bold text, headings
#D789EF text on white 2.40:1 Fails Lc 47.2 Large or bold text, headings
#D789EF text on black 8.71:1 AAA Lc -54.8 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

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F2E4F7

    oklch(93.6% 0.029 317.2)

  3. Step 200

    200

    #E9CEF2

    oklch(88.5% 0.057 317.7)

  4. Step 300

    300

    #DCACEC

    oklch(80.9% 0.102 317.5)

  5. Step 400

    400 (this color)

    #D789EF

    oklch(74.7% 0.163 317.9)

  6. Step 500

    500

    #BB55D9

    oklch(63% 0.209 317.9)

  7. Step 600

    600

    #A733C6

    oklch(55.7% 0.226 318.1)

  8. Step 700

    700

    #8F23AB

    oklch(49.2% 0.21 318.1)

  9. Step 800

    800

    #74208B

    oklch(42.7% 0.175 317.8)

  10. Step 900

    900

    #5E226F

    oklch(37.7% 0.136 318)

  11. Step 950

    950

    #371541

    oklch(26.9% 0.087 317.9)

Export this scale for Tailwind in the Tailwind colors tool

#D789EF 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)#79A2F30.141
Deuteranopia (no green cones)#8DAAEC0.129
Tritanopia (no blue cones)#D796B10.105
Achromatopsia (no color)#A7A7A70.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #D789EF

    #D789EF

    oklch(74.7% 0.163 317.9)

  • #76C459

    #76C459

    oklch(74.6% 0.162 138)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D789EF

    #D789EF

    oklch(74.7% 0.163 317.9)

  • #A99EFF

    #A99EFF

    oklch(74.7% 0.138 287.8)

  • #F57EBF

    #F57EBF

    oklch(74.6% 0.162 347.8)

Open the analogous palette in the generator

Split complementary

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

  • #D789EF

    #D789EF

    oklch(74.7% 0.163 317.9)

  • #B8B300

    #B8B300

    oklch(74.7% 0.161 107.7)

  • #00CB9A

    #00CB9A

    oklch(74.8% 0.152 167.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D789EF

    #D789EF

    oklch(74.7% 0.163 317.9)

  • #E29E00

    #E29E00

    oklch(74.6% 0.156 77.8)

  • #00C5CA

    #00C5CA

    oklch(74.7% 0.127 198)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D789EF

    #D789EF

    oklch(74.7% 0.163 317.9)

  • #FE8946

    #FE8946

    oklch(74.8% 0.163 48.1)

  • #76C459

    #76C459

    oklch(74.6% 0.162 138)

  • #00BDF5

    #00BDF5

    oklch(74.6% 0.146 228.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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