#D789F1

Closest named color: Liliac (#C48EFD). oklch(74.8% 0.165 317.3), rgb(215, 137, 241).

Aa

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

About this color

#D789F1 is a medium-light, vivid purple. In OKLCH its lightness is 75%, its chroma 0.165 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Liliac (#C48EFD), ΔE 0.035 away. Black text reads best on it, at 8.73:1.

Hue familyPurples
Lightnessmedium-light (75%)
Chromavivid (0.165)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.73:1
White text2.40:1

Values

HEX#D789F1
RGBrgb(215, 137, 241)
HSLhsl(285, 79%, 74%)
OKLCHoklch(74.8% 0.165 317.3)

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 #D789F1 2.40:1 Fails Lc -52.1 Large or bold text, headings
Black text on #D789F1 8.73:1 AAA Lc 56.9 Large or bold text, headings
#D789F1 text on white 2.40:1 Fails Lc 47.1 Large or bold text, headings
#D789F1 text on black 8.73:1 AAA Lc -54.9 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

    #E9CEF3

    oklch(88.5% 0.058 316.9)

  4. Step 300

    300

    #DCACED

    oklch(80.9% 0.103 317.1)

  5. Step 400

    400 (this color)

    #D789F1

    oklch(74.8% 0.165 317.3)

  6. Step 500

    500

    #BB55DB

    oklch(63.1% 0.21 317.3)

  7. Step 600

    600

    #A631C8

    oklch(55.5% 0.229 317.3)

  8. Step 700

    700

    #8E21AD

    oklch(49% 0.213 317.2)

  9. Step 800

    800

    #741F8C

    oklch(42.7% 0.177 317.5)

  10. Step 900

    900

    #5E2270

    oklch(37.8% 0.137 317.5)

  11. Step 950

    950

    #371542

    oklch(27% 0.088 317.1)

Export this scale for Tailwind in the Tailwind colors tool

#D789F1 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)#78A2F50.141
Deuteranopia (no green cones)#8DAAEE0.128
Tritanopia (no blue cones)#D797B20.108
Achromatopsia (no color)#A7A7A70.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #D789F1

    #D789F1

    oklch(74.8% 0.165 317.3)

  • #77C556

    #77C556

    oklch(74.9% 0.166 137.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D789F1

    #D789F1

    oklch(74.8% 0.165 317.3)

  • #A89EFF

    #A89EFF

    oklch(74.7% 0.138 287.3)

  • #F67EC1

    #F67EC1

    oklch(74.8% 0.164 347.2)

Open the analogous palette in the generator

Split complementary

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

  • #D789F1

    #D789F1

    oklch(74.8% 0.165 317.3)

  • #B9B300

    #B9B300

    oklch(74.7% 0.161 107.3)

  • #00CB99

    #00CB99

    oklch(74.7% 0.153 167.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D789F1

    #D789F1

    oklch(74.8% 0.165 317.3)

  • #E39E00

    #E39E00

    oklch(74.7% 0.156 77.4)

  • #00C5C9

    #00C5C9

    oklch(74.7% 0.127 197.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D789F1

    #D789F1

    oklch(74.8% 0.165 317.3)

  • #FF8846

    #FF8846

    oklch(74.8% 0.165 47.4)

  • #77C556

    #77C556

    oklch(74.9% 0.166 137.4)

  • #00BEF4

    #00BEF4

    oklch(74.8% 0.145 227.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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