#D78EFE

Closest named color: Liliac (#C48EFD). oklch(76.2% 0.171 312.9), rgb(215, 142, 254).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (76%)
Chromavivid (0.171)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text9.18:1
White text2.28:1

Values

HEX#D78EFE
RGBrgb(215, 142, 254)
HSLhsl(279, 98%, 78%)
OKLCHoklch(76.2% 0.171 312.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 #D78EFE 2.28:1 Fails Lc -49.7 Large or bold text, headings
Black text on #D78EFE 9.18:1 AAA Lc 59.1 Large or bold text, headings
#D78EFE text on white 2.28:1 Fails Lc 44.8 Non-text elements, placeholder text
#D78EFE text on black 9.18:1 AAA Lc -57.3 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 300.

  1. Step 50

    50

    #FAF2FF

    oklch(97.1% 0.019 312.8)

  2. Step 100

    100

    #F4E2FF

    oklch(93.6% 0.043 312.8)

  3. Step 200

    200

    #ECCAFF

    oklch(88.5% 0.08 313.4)

  4. Step 300

    300 (this color)

    #D78EFE

    oklch(76.2% 0.171 312.9)

  5. Step 400

    400

    #CF6EFF

    oklch(70.7% 0.218 313.1)

  6. Step 500

    500

    #C230FF

    oklch(63% 0.284 312.8)

  7. Step 600

    600

    #A900E2

    oklch(55.6% 0.277 313)

  8. Step 700

    700

    #8F00BF

    oklch(49.1% 0.244 313.2)

  9. Step 800

    800

    #75009E

    oklch(42.6% 0.212 312.9)

  10. Step 900

    900

    #620086

    oklch(37.7% 0.188 312.6)

  11. Step 950

    950

    #3C0053

    oklch(27% 0.134 313)

Export this scale for Tailwind in the Tailwind colors tool

#D78EFE 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)#77A7FF0.140
Deuteranopia (no green cones)#8BADFB0.126
Tritanopia (no blue cones)#D49FBA0.118
Achromatopsia (no color)#ABABAB0.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #D78EFE

    #D78EFE

    oklch(76.2% 0.171 312.9)

  • #85C84B

    #85C84B

    oklch(76.2% 0.171 133)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D78EFE

    #D78EFE

    oklch(76.2% 0.171 312.9)

  • #A7A7FF

    #A7A7FF

    oklch(76.3% 0.125 283)

  • #FA81CE

    #FA81CE

    oklch(76.2% 0.171 343)

Open the analogous palette in the generator

Split complementary

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

  • #D78EFE

    #D78EFE

    oklch(76.2% 0.171 312.9)

  • #C5B500

    #C5B500

    oklch(76.3% 0.16 103.1)

  • #00D193

    #00D193

    oklch(76.1% 0.164 163.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D78EFE

    #D78EFE

    oklch(76.2% 0.171 312.9)

  • #EF9E00

    #EF9E00

    oklch(76.1% 0.162 72.7)

  • #00CBC8

    #00CBC8

    oklch(76.1% 0.13 192.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D78EFE

    #D78EFE

    oklch(76.2% 0.171 312.9)

  • #FF8F60

    #FF8F60

    oklch(76.2% 0.149 42.9)

  • #85C84B

    #85C84B

    oklch(76.2% 0.171 133)

  • #00C4F3

    #00C4F3

    oklch(76.1% 0.142 223.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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