#D476EC#D476EC

#D476EC is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.4% C 0.189 H 319.2°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#D476EC
RGBrgb(212, 118, 236)
HSLhsl(288, 76%, 69%)
HSVhsv(288, 50%, 93%)
CMYKcmyk(10.2%, 50%, 0%, 7.5%)
CIE-LABlab(64.17, 54.72, -44.58)
CIE-LCHlch(64.17, 70.58, 320.83°)
OKLaboklab(71.39% 0.1431 -0.1236)
OKLCHoklch(71.39% 0.189 319.2)
XYZxyz(48.7682, 33.0119, 83.1436)
Luminance0.3301 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D476EC #8EEC76
analogous
#9976EC #D476EC #EC76C9
triadic
#D476EC #ECD476 #76ECD4
tetradic
#D476EC #EC9976 #8EEC76 #76C9EC
square
#D476EC #EC9976 #8EEC76 #76C9EC
split-complementary
#D476EC #C9EC76 #76EC99
monochromatic
#A81CCB #C340E5 #D476EC #E5ACF3 #F6E1FB

Accessibility & contrast

On white

2.76
#D476EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#D476EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D476EC
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D476EC#FFFFFF#000000##000000
##D476EC1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6195F0
Deuteranopia (green-blind)
#7D9FE9
Tritanopia (blue-blind)
#D587A6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d476ec;
/* rgb */ color: rgb(212, 118, 236);
/* oklch */ color: oklch(71.4% 0.189 319.2);
Tailwind
colors: {
  custom: {
    50: '#e3a1f2',
    500: '#d476ec',
    950: '#000000',
  },
}
SCSS
$custom: #d476ec;
$custom-light: #e3a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d476ec",
  "rgb": {
    "r": 212,
    "g": 118,
    "b": 236
  },
  "hsl": {
    "h": 287.797,
    "s": 75.641,
    "l": 69.412
  },
  "oklch": {
    "l": 0.71389,
    "c": 0.18906,
    "h": 319.2
  },
  "luminance": 0.3301
}

Semantic roles & 50–950 ramp

primary
#D476EC
secondary
#D5F0CE
accent
#D80E37
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D476EC

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

Preview Lab → · Contrast checker → · Palette generator →

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