#D78BF5

Closest named color: Liliac (#C48EFD). oklch(75.3% 0.166 315.9), rgb(215, 139, 245).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (75%)
Chromavivid (0.166)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.90:1
White text2.35:1

Values

HEX#D78BF5
RGBrgb(215, 139, 245)
HSLhsl(283, 84%, 75%)
OKLCHoklch(75.3% 0.166 315.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 #D78BF5 2.35:1 Fails Lc -51.2 Large or bold text, headings
Black text on #D78BF5 8.90:1 AAA Lc 57.7 Large or bold text, headings
#D78BF5 text on white 2.35:1 Fails Lc 46.3 Large or bold text, headings
#D78BF5 text on black 8.90:1 AAA Lc -55.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

    #F2E4F8

    oklch(93.6% 0.031 315.9)

  3. Step 200

    200

    #E8CEF3

    oklch(88.4% 0.057 315.9)

  4. Step 300

    300

    #DBACEE

    oklch(80.9% 0.104 316)

  5. Step 400

    400 (this color)

    #D78BF5

    oklch(75.3% 0.166 315.9)

  6. Step 500

    500

    #B955DE

    oklch(63.1% 0.213 315.8)

  7. Step 600

    600

    #A532CB

    oklch(55.6% 0.23 316.1)

  8. Step 700

    700

    #8D22B0

    oklch(49.1% 0.214 315.8)

  9. Step 800

    800

    #73208E

    oklch(42.8% 0.177 316.2)

  10. Step 900

    900

    #5D2272

    oklch(37.8% 0.138 315.9)

  11. Step 950

    950

    #361543

    oklch(26.9% 0.088 315.2)

Export this scale for Tailwind in the Tailwind colors tool

#D78BF5 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)#78A4F90.140
Deuteranopia (no green cones)#8CABF20.127
Tritanopia (no blue cones)#D69AB40.112
Achromatopsia (no color)#A9A9A90.167

Harmonies

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

Complementary

The opposite hue (180°).

  • #D78BF5

    #D78BF5

    oklch(75.3% 0.166 315.9)

  • #7CC654

    #7CC654

    oklch(75.3% 0.166 136)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D78BF5

    #D78BF5

    oklch(75.3% 0.166 315.9)

  • #A8A1FF

    #A8A1FF

    oklch(75.2% 0.134 286.1)

  • #F77FC5

    #F77FC5

    oklch(75.2% 0.166 345.8)

Open the analogous palette in the generator

Split complementary

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

  • #D78BF5

    #D78BF5

    oklch(75.3% 0.166 315.9)

  • #BDB400

    #BDB400

    oklch(75.3% 0.161 106)

  • #00CD97

    #00CD97

    oklch(75.2% 0.157 165.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D78BF5

    #D78BF5

    oklch(75.3% 0.166 315.9)

  • #E79E00

    #E79E00

    oklch(75.2% 0.158 75.8)

  • #00C7C9

    #00C7C9

    oklch(75.2% 0.128 196.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D78BF5

    #D78BF5

    oklch(75.3% 0.166 315.9)

  • #FF8B50

    #FF8B50

    oklch(75.3% 0.159 46.1)

  • #7CC654

    #7CC654

    oklch(75.3% 0.166 136)

  • #00C0F4

    #00C0F4

    oklch(75.3% 0.144 226.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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