#D878EE

Closest named color: Orchid (#DA70D6). oklch(72.2% 0.19 319.9), rgb(216, 120, 238).

Aa

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

About this color

#D878EE is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.190 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Orchid (#DA70D6), ΔE 0.036 away. Black text reads best on it, at 7.84:1.

Hue familyPurples
Lightnessmedium-light (72%)
Chromavivid (0.190)
Temperaturein between
Nearest nameOrchid (#DA70D6)
Black text7.84:1
White text2.67:1

Values

HEX#D878EE
RGBrgb(216, 120, 238)
HSLhsl(289, 78%, 70%)
OKLCHoklch(72.2% 0.19 319.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 #D878EE 2.67:1 Fails Lc -56.8 Large or bold text, headings
Black text on #D878EE 7.84:1 AAA Lc 52.4 Large or bold text, headings
#D878EE text on white 2.67:1 Fails Lc 51.6 Large or bold text, headings
#D878EE text on black 7.84:1 AAA Lc -50.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 400.

  1. Step 50

    50

    #FAF2FC

    oklch(97% 0.016 319.4)

  2. Step 100

    100

    #F4E3F9

    oklch(93.6% 0.034 318.5)

  3. Step 200

    200

    #EDCCF5

    oklch(88.6% 0.066 319.6)

  4. Step 300

    300

    #E3A7F0

    oklch(80.9% 0.119 320.3)

  5. Step 400

    400 (this color)

    #D878EE

    oklch(72.2% 0.19 319.9)

  6. Step 500

    500

    #C644E2

    oklch(63.2% 0.243 319.9)

  7. Step 600

    600

    #B108CF

    oklch(55.5% 0.263 319.9)

  8. Step 700

    700

    #9600B0

    oklch(49% 0.235 320)

  9. Step 800

    800

    #7C0391

    oklch(42.8% 0.203 320.2)

  10. Step 900

    900

    #641674

    oklch(37.8% 0.158 320)

  11. Step 950

    950

    #3B1044

    oklch(27.1% 0.1 320.2)

Export this scale for Tailwind in the Tailwind colors tool

#D878EE 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)#6497F20.174
Deuteranopia (no green cones)#81A2EB0.155
Tritanopia (no blue cones)#D988A80.119
Achromatopsia (no color)#9E9E9E0.191

Harmonies

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

Complementary

The opposite hue (180°).

  • #D878EE

    #D878EE

    oklch(72.2% 0.19 319.9)

  • #5BC042

    #5BC042

    oklch(72.1% 0.189 139.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D878EE

    #D878EE

    oklch(72.2% 0.19 319.9)

  • #A592FF

    #A592FF

    oklch(72.2% 0.155 289.9)

  • #F96BB6

    #F96BB6

    oklch(72.3% 0.19 350.1)

Open the analogous palette in the generator

Split complementary

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

  • #D878EE

    #D878EE

    oklch(72.2% 0.19 319.9)

  • #ACAD00

    #ACAD00

    oklch(72.3% 0.158 110.2)

  • #00C197

    #00C197

    oklch(72.1% 0.143 169.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D878EE

    #D878EE

    oklch(72.2% 0.19 319.9)

  • #D69900

    #D69900

    oklch(72.3% 0.15 80)

  • #00BCC3

    #00BCC3

    oklch(72.3% 0.123 199.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D878EE

    #D878EE

    oklch(72.2% 0.19 319.9)

  • #FF7908

    #FF7908

    oklch(72.2% 0.19 49.8)

  • #5BC042

    #5BC042

    oklch(72.1% 0.189 139.9)

  • #00B4ED

    #00B4ED

    oklch(72.1% 0.144 230)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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