#D478E4

Closest named color: Orchid (#DA70D6). oklch(71.3% 0.178 321.5), rgb(212, 120, 228).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (71%)
Chromavivid (0.178)
Temperaturein between
Nearest nameOrchid (#DA70D6)
Black text7.60:1
White text2.76:1

Values

HEX#D478E4
RGBrgb(212, 120, 228)
HSLhsl(291, 67%, 68%)
OKLCHoklch(71.3% 0.178 321.5)

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 #D478E4 2.76:1 Fails Lc -58.2 Large or bold text, headings
Black text on #D478E4 7.60:1 AAA Lc 51.1 Large or bold text, headings
#D478E4 text on white 2.76:1 Fails Lc 52.9 Large or bold text, headings
#D478E4 text on black 7.60:1 AAA Lc -48.9 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

    #F4E3F7

    oklch(93.5% 0.032 321.1)

  3. Step 200

    200

    #EDCCF2

    oklch(88.5% 0.062 321.8)

  4. Step 300

    300

    #E2A9EC

    oklch(81% 0.111 321.4)

  5. Step 400

    400 (this color)

    #D478E4

    oklch(71.3% 0.178 321.5)

  6. Step 500

    500

    #C54AD9

    oklch(63.1% 0.228 321.8)

  7. Step 600

    600

    #B01EC7

    oklch(55.6% 0.248 321.4)

  8. Step 700

    700

    #9708AC

    oklch(49.1% 0.23 321.4)

  9. Step 800

    800

    #7B118B

    oklch(42.7% 0.191 321.7)

  10. Step 900

    900

    #631B6F

    oklch(37.7% 0.147 321.5)

  11. Step 950

    950

    #3A1241

    oklch(27% 0.093 321.4)

Export this scale for Tailwind in the Tailwind colors tool

#D478E4 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)#6895E80.164
Deuteranopia (no green cones)#839FE10.146
Tritanopia (no blue cones)#D686A40.109
Achromatopsia (no color)#9C9C9C0.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #D478E4

    #D478E4

    oklch(71.3% 0.178 321.5)

  • #59BD4C

    #59BD4C

    oklch(71.4% 0.178 141.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D478E4

    #D478E4

    oklch(71.3% 0.178 321.5)

  • #A58DFF

    #A58DFF

    oklch(71.3% 0.163 291.4)

  • #F26DAF

    #F26DAF

    oklch(71.4% 0.177 351.6)

Open the analogous palette in the generator

Split complementary

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

  • #D478E4

    #D478E4

    oklch(71.3% 0.178 321.5)

  • #A6AB00

    #A6AB00

    oklch(71.3% 0.158 111.9)

  • #00BE98

    #00BE98

    oklch(71.4% 0.139 171.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D478E4

    #D478E4

    oklch(71.3% 0.178 321.5)

  • #D09700

    #D09700

    oklch(71.2% 0.147 81.5)

  • #00B8C2

    #00B8C2

    oklch(71.2% 0.121 201.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D478E4

    #D478E4

    oklch(71.3% 0.178 321.5)

  • #F67B18

    #F67B18

    oklch(71.2% 0.178 51.3)

  • #59BD4C

    #59BD4C

    oklch(71.4% 0.178 141.4)

  • #00B1EC

    #00B1EC

    oklch(71.3% 0.144 231.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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