#D478EB

Closest named color: Orchid (#DA70D6). oklch(71.6% 0.185 319.3), rgb(212, 120, 235).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (72%)
Chromavivid (0.185)
Temperaturein between
Nearest nameOrchid (#DA70D6)
Black text7.68:1
White text2.73:1

Values

HEX#D478EB
RGBrgb(212, 120, 235)
HSLhsl(288, 74%, 70%)
OKLCHoklch(71.6% 0.185 319.3)

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 #D478EB 2.73:1 Fails Lc -57.7 Large or bold text, headings
Black text on #D478EB 7.68:1 AAA Lc 51.5 Large or bold text, headings
#D478EB text on white 2.73:1 Fails Lc 52.5 Large or bold text, headings
#D478EB text on black 7.68:1 AAA Lc -49.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

    #FAF2FC

    oklch(97% 0.016 319.4)

  2. Step 100

    100

    #F4E3F8

    oklch(93.6% 0.033 319.8)

  3. Step 200

    200

    #ECCCF4

    oklch(88.4% 0.064 319.5)

  4. Step 300

    300

    #E1A8F0

    oklch(80.8% 0.116 319.1)

  5. Step 400

    400 (this color)

    #D478EB

    oklch(71.6% 0.185 319.3)

  6. Step 500

    500

    #C348E1

    oklch(63.1% 0.236 319.1)

  7. Step 600

    600

    #AF17CE

    oklch(55.6% 0.256 319.4)

  8. Step 700

    700

    #9600B2

    oklch(49.2% 0.237 319.4)

  9. Step 800

    800

    #7A0C90

    oklch(42.7% 0.197 319.5)

  10. Step 900

    900

    #621973

    oklch(37.6% 0.153 319.2)

  11. Step 950

    950

    #3A1144

    oklch(27.1% 0.098 319.1)

Export this scale for Tailwind in the Tailwind colors tool

#D478EB 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)#6496EF0.168
Deuteranopia (no green cones)#80A0E80.150
Tritanopia (no blue cones)#D588A70.117
Achromatopsia (no color)#9C9C9C0.186

Harmonies

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

Complementary

The opposite hue (180°).

  • #D478EB

    #D478EB

    oklch(71.6% 0.185 319.3)

  • #5EBE42

    #5EBE42

    oklch(71.7% 0.185 139.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D478EB

    #D478EB

    oklch(71.6% 0.185 319.3)

  • #A290FF

    #A290FF

    oklch(71.6% 0.158 289.2)

  • #F46BB5

    #F46BB5

    oklch(71.6% 0.185 349.2)

Open the analogous palette in the generator

Split complementary

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

  • #D478EB

    #D478EB

    oklch(71.6% 0.185 319.3)

  • #ABAA00

    #ABAA00

    oklch(71.5% 0.155 109.3)

  • #00BF94

    #00BF94

    oklch(71.5% 0.143 169.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D478EB

    #D478EB

    oklch(71.6% 0.185 319.3)

  • #D49700

    #D49700

    oklch(71.7% 0.149 79.7)

  • #00BAC0

    #00BAC0

    oklch(71.6% 0.122 198.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D478EB

    #D478EB

    oklch(71.6% 0.185 319.3)

  • #FB7917

    #FB7917

    oklch(71.6% 0.184 49.5)

  • #5EBE42

    #5EBE42

    oklch(71.7% 0.185 139.4)

  • #00B3EA

    #00B3EA

    oklch(71.7% 0.142 229.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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