#D478E7#D478E7

#D478E7 is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.4% C 0.181 H 320.6°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#D478E7
RGBrgb(212, 120, 231)
HSLhsl(290, 70%, 69%)
HSVhsv(290, 48%, 91%)
CMYKcmyk(8.2%, 48.1%, 0%, 9.4%)
CIE-LABlab(64.32, 52.75, -41.57)
CIE-LCHlch(64.32, 67.16, 321.76°)
OKLaboklab(71.43% 0.1397 -0.1149)
OKLCHoklch(71.43% 0.181 320.6)
XYZxyz(48.2899, 33.2014, 79.4506)
Luminance0.3320 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D478E7 #8BE778
analogous
#9D78E7 #D478E7 #E778C3
triadic
#D478E7 #E7D478 #78E7D4
tetradic
#D478E7 #E79D78 #8BE778 #78C3E7
square
#D478E7 #E79D78 #8BE778 #78C3E7
split-complementary
#D478E7 #C3E778 #78E79D
monochromatic
#A723C2 #C344DE #D478E7 #E5ACF0 #F5E0F9

Accessibility & contrast

On white

2.75
#D478E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#D478E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D478E7
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D478E7#FFFFFF#000000##000000
##D478E71.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6795EB
Deuteranopia (green-blind)
#819FE4
Tritanopia (blue-blind)
#D687A5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d478e7;
/* rgb */ color: rgb(212, 120, 231);
/* oklch */ color: oklch(71.4% 0.181 320.6);
Tailwind
colors: {
  custom: {
    50: '#e3a2ef',
    500: '#d478e7',
    950: '#000000',
  },
}
SCSS
$custom: #d478e7;
$custom-light: #e3a2ef;
$custom-dark: #000000;
JSON
{
  "hex": "#d478e7",
  "rgb": {
    "r": 212,
    "g": 120,
    "b": 231
  },
  "hsl": {
    "h": 289.73,
    "s": 69.811,
    "l": 68.824
  },
  "oklch": {
    "l": 0.71427,
    "c": 0.18089,
    "h": 320.6
  },
  "luminance": 0.332
}

Semantic roles & 50–950 ramp

primary
#D478E7
secondary
#D3EECD
accent
#D21434
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D478E7

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#D478E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva