#D78FEC

Closest named color: Baby Purple (#CA9BF7). oklch(75.5% 0.149 318.4), rgb(215, 143, 236).

Aa

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

About this color

#D78FEC is a medium-light, vivid purple. In OKLCH its lightness is 75%, its chroma 0.149 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.034 away. Black text reads best on it, at 9.02:1.

Hue familyPurples
Lightnessmedium-light (75%)
Chromavivid (0.149)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.02:1
White text2.32:1

Values

HEX#D78FEC
RGBrgb(215, 143, 236)
HSLhsl(286, 71%, 74%)
OKLCHoklch(75.5% 0.149 318.4)

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 #D78FEC 2.32:1 Fails Lc -50.6 Large or bold text, headings
Black text on #D78FEC 9.02:1 AAA Lc 58.3 Large or bold text, headings
#D78FEC text on white 2.32:1 Fails Lc 45.7 Large or bold text, headings
#D78FEC text on black 9.02:1 AAA Lc -56.4 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

    #F2E5F6

    oklch(93.7% 0.027 318.2)

  3. Step 200

    200

    #E8CFF0

    oklch(88.5% 0.052 317.9)

  4. Step 300

    300

    #DAAEE8

    oklch(80.9% 0.093 317.9)

  5. Step 400

    400 (this color)

    #D78FEC

    oklch(75.5% 0.149 318.4)

  6. Step 500

    500

    #B85CD2

    oklch(63.1% 0.19 318.3)

  7. Step 600

    600

    #A33CBF

    oklch(55.5% 0.208 318.2)

  8. Step 700

    700

    #8C2DA5

    oklch(49.2% 0.193 318.3)

  9. Step 800

    800

    #722786

    oklch(42.8% 0.161 318.4)

  10. Step 900

    900

    #5C266B

    oklch(37.7% 0.124 318.3)

  11. Step 950

    950

    #36173F

    oklch(27% 0.08 318.1)

Export this scale for Tailwind in the Tailwind colors tool

#D78FEC 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)#81A5EF0.128
Deuteranopia (no green cones)#94ACE90.116
Tritanopia (no blue cones)#D79BB30.097
Achromatopsia (no color)#AAAAAA0.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #D78FEC

    #D78FEC

    oklch(75.5% 0.149 318.4)

  • #7DC665

    #7DC665

    oklch(75.6% 0.15 138.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D78FEC

    #D78FEC

    oklch(75.5% 0.149 318.4)

  • #ACA1FF

    #ACA1FF

    oklch(75.5% 0.133 288.1)

  • #F385BF

    #F385BF

    oklch(75.4% 0.149 348.4)

Open the analogous palette in the generator

Split complementary

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

  • #D78FEC

    #D78FEC

    oklch(75.5% 0.149 318.4)

  • #B9B62D

    #B9B62D

    oklch(75.5% 0.15 108.2)

  • #15CD9E

    #15CD9E

    oklch(75.5% 0.149 168.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D78FEC

    #D78FEC

    oklch(75.5% 0.149 318.4)

  • #E2A221

    #E2A221

    oklch(75.5% 0.149 78.5)

  • #00C8CD

    #00C8CD

    oklch(75.6% 0.129 198)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D78FEC

    #D78FEC

    oklch(75.5% 0.149 318.4)

  • #FA8F54

    #FA8F54

    oklch(75.4% 0.149 48.1)

  • #7DC665

    #7DC665

    oklch(75.6% 0.15 138.4)

  • #00C0F9

    #00C0F9

    oklch(75.5% 0.148 228.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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