#D789EC

Closest named color: Lavender Pink (#DD85D7). oklch(74.5% 0.16 318.9), rgb(215, 137, 236).

Aa

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

About this color

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

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

Values

HEX#D789EC
RGBrgb(215, 137, 236)
HSLhsl(287, 72%, 73%)
OKLCHoklch(74.5% 0.16 318.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 #D789EC 2.41:1 Fails Lc -52.4 Large or bold text, headings
Black text on #D789EC 8.67:1 AAA Lc 56.6 Large or bold text, headings
#D789EC text on white 2.41:1 Fails Lc 47.4 Large or bold text, headings
#D789EC text on black 8.67:1 AAA Lc -54.6 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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F3E4F6

    oklch(93.6% 0.029 320.6)

  3. Step 200

    200

    #E9CEF1

    oklch(88.5% 0.055 318.4)

  4. Step 300

    300

    #DDACEA

    oklch(80.9% 0.1 319.1)

  5. Step 400

    400 (this color)

    #D789EC

    oklch(74.5% 0.16 318.9)

  6. Step 500

    500

    #BC56D6

    oklch(63.1% 0.205 319)

  7. Step 600

    600

    #A734C3

    oklch(55.6% 0.222 318.9)

  8. Step 700

    700

    #8F25A8

    oklch(49.1% 0.205 319)

  9. Step 800

    800

    #742188

    oklch(42.6% 0.171 319)

  10. Step 900

    900

    #5E236D

    oklch(37.7% 0.132 318.9)

  11. Step 950

    950

    #371640

    oklch(27% 0.084 318.6)

Export this scale for Tailwind in the Tailwind colors tool

#D789EC 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)#7AA1F00.139
Deuteranopia (no green cones)#8FA9E90.126
Tritanopia (no blue cones)#D896AF0.104
Achromatopsia (no color)#A7A7A70.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #D789EC

    #D789EC

    oklch(74.5% 0.16 318.9)

  • #74C45D

    #74C45D

    oklch(74.6% 0.16 139.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D789EC

    #D789EC

    oklch(74.5% 0.16 318.9)

  • #AA9CFF

    #AA9CFF

    oklch(74.5% 0.141 289)

  • #F47FBD

    #F47FBD

    oklch(74.6% 0.159 348.6)

Open the analogous palette in the generator

Split complementary

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

  • #D789EC

    #D789EC

    oklch(74.5% 0.16 318.9)

  • #B5B30C

    #B5B30C

    oklch(74.4% 0.159 108.9)

  • #00CA9C

    #00CA9C

    oklch(74.6% 0.149 168.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D789EC

    #D789EC

    oklch(74.5% 0.16 318.9)

  • #E09F00

    #E09F00

    oklch(74.6% 0.155 79.3)

  • #00C4CB

    #00C4CB

    oklch(74.5% 0.127 199.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D789EC

    #D789EC

    oklch(74.5% 0.16 318.9)

  • #FB8A47

    #FB8A47

    oklch(74.6% 0.159 49)

  • #74C45D

    #74C45D

    oklch(74.6% 0.16 139.1)

  • #00BDF6

    #00BDF6

    oklch(74.6% 0.147 228.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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