#D476EA#D476EA

#D476EA is a light, vivid purple. Relative luminance 0.329; OKLCH L 71.3% C 0.187 H 319.8°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#D476EA
RGBrgb(212, 118, 234)
HSLhsl(289, 73%, 69%)
HSVhsv(289, 50%, 92%)
CMYKcmyk(9.4%, 49.6%, 0%, 8.2%)
CIE-LABlab(64.08, 54.33, -43.62)
CIE-LCHlch(64.08, 69.68, 321.24°)
OKLaboklab(71.29% 0.1428 -0.1208)
OKLCHoklch(71.29% 0.187 319.8)
XYZxyz(48.4792, 32.8963, 81.6219)
Luminance0.3289 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D476EA #8CEA76
analogous
#9A76EA #D476EA #EA76C6
triadic
#D476EA #EAD476 #76EAD4
tetradic
#D476EA #EA9A76 #8CEA76 #76C6EA
square
#D476EA #EA9A76 #8CEA76 #76C6EA
split-complementary
#D476EA #C6EA76 #76EA9A
monochromatic
#A71FC7 #C341E2 #D476EA #E5ABF2 #F5E0FA

Accessibility & contrast

On white

2.77
#D476EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#D476EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D476EA
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D476EA#FFFFFF#000000##000000
##D476EA1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295EE
Deuteranopia (green-blind)
#7E9FE7
Tritanopia (blue-blind)
#D586A5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d476ea;
/* rgb */ color: rgb(212, 118, 234);
/* oklch */ color: oklch(71.3% 0.187 319.8);
Tailwind
colors: {
  custom: {
    50: '#e3a0f1',
    500: '#d476ea',
    950: '#000000',
  },
}
SCSS
$custom: #d476ea;
$custom-light: #e3a0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d476ea",
  "rgb": {
    "r": 212,
    "g": 118,
    "b": 234
  },
  "hsl": {
    "h": 288.621,
    "s": 73.418,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71289,
    "c": 0.18707,
    "h": 319.8
  },
  "luminance": 0.32894
}

Semantic roles & 50–950 ramp

primary
#D476EA
secondary
#D3EFCD
accent
#D61035
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D476EA

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

Preview Lab → · Contrast checker → · Palette generator →

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