#D978F0

Closest named color: Orchid (#DA70D6). oklch(72.4% 0.192 319.7), rgb(217, 120, 240).

Aa

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

About this color

#D978F0 is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.192 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.039 away. Black text reads best on it, at 7.89:1.

Hue familyPurples
Lightnessmedium-light (72%)
Chromavivid (0.192)
Temperaturein between
Nearest nameOrchid (#DA70D6)
Black text7.89:1
White text2.65:1

Values

HEX#D978F0
RGBrgb(217, 120, 240)
HSLhsl(289, 80%, 71%)
OKLCHoklch(72.4% 0.192 319.7)

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 #D978F0 2.65:1 Fails Lc -56.5 Large or bold text, headings
Black text on #D978F0 7.89:1 AAA Lc 52.7 Large or bold text, headings
#D978F0 text on white 2.65:1 Fails Lc 51.3 Large or bold text, headings
#D978F0 text on black 7.89:1 AAA Lc -50.6 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

    #F5E3F9

    oklch(93.7% 0.035 320.1)

  3. Step 200

    200

    #EDCCF5

    oklch(88.6% 0.066 319.6)

  4. Step 300

    300

    #E3A7F1

    oklch(80.9% 0.12 319.9)

  5. Step 400

    400 (this color)

    #D978F0

    oklch(72.4% 0.192 319.7)

  6. Step 500

    500

    #C642E3

    oklch(63% 0.246 319.7)

  7. Step 600

    600

    #B200D1

    oklch(55.7% 0.267 319.8)

  8. Step 700

    700

    #9600B1

    oklch(49.1% 0.236 319.7)

  9. Step 800

    800

    #7C0092

    oklch(42.7% 0.205 319.9)

  10. Step 900

    900

    #641575

    oklch(37.8% 0.16 319.6)

  11. Step 950

    950

    #3B0F44

    oklch(27% 0.102 320.3)

Export this scale for Tailwind in the Tailwind colors tool

#D978F0 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)#6398F40.176
Deuteranopia (no green cones)#81A2ED0.156
Tritanopia (no blue cones)#DA89A90.122
Achromatopsia (no color)#9F9F9F0.194

Harmonies

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

Complementary

The opposite hue (180°).

  • #D978F0

    #D978F0

    oklch(72.4% 0.192 319.7)

  • #5BC140

    #5BC140

    oklch(72.4% 0.192 139.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D978F0

    #D978F0

    oklch(72.4% 0.192 319.7)

  • #A593FF

    #A593FF

    oklch(72.4% 0.154 289.6)

  • #FA6BB7

    #FA6BB7

    oklch(72.5% 0.191 349.9)

Open the analogous palette in the generator

Split complementary

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

  • #D978F0

    #D978F0

    oklch(72.4% 0.192 319.7)

  • #ADAD00

    #ADAD00

    oklch(72.4% 0.158 109.8)

  • #00C297

    #00C297

    oklch(72.4% 0.144 169.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D978F0

    #D978F0

    oklch(72.4% 0.192 319.7)

  • #D79900

    #D79900

    oklch(72.4% 0.15 79.6)

  • #00BDC4

    #00BDC4

    oklch(72.5% 0.123 199.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D978F0

    #D978F0

    oklch(72.4% 0.192 319.7)

  • #FF7B14

    #FF7B14

    oklch(72.5% 0.187 49.8)

  • #5BC140

    #5BC140

    oklch(72.4% 0.192 139.7)

  • #00B5EE

    #00B5EE

    oklch(72.4% 0.144 229.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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