#D476EB#D476EB

#D476EB is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.3% C 0.188 H 319.5°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#D476EB
RGBrgb(212, 118, 235)
HSLhsl(288, 75%, 69%)
HSVhsv(288, 50%, 92%)
CMYKcmyk(9.8%, 49.8%, 0%, 7.8%)
CIE-LABlab(64.12, 54.53, -44.10)
CIE-LCHlch(64.12, 70.13, 321.04°)
OKLaboklab(71.34% 0.143 -0.1222)
OKLCHoklch(71.34% 0.188 319.5)
XYZxyz(48.6233, 32.9539, 82.3806)
Luminance0.3295 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D476EB #8DEB76
analogous
#9A76EB #D476EB #EB76C8
triadic
#D476EB #EBD476 #76EBD4
tetradic
#D476EB #EB9A76 #8DEB76 #76C8EB
square
#D476EB #EB9A76 #8DEB76 #76C8EB
split-complementary
#D476EB #C8EB76 #76EB9A
monochromatic
#A71DC9 #C341E3 #D476EB #E5ABF3 #F6E1FB

Accessibility & contrast

On white

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

On black

7.59
#D476EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D476EB
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D476EB#FFFFFF#000000##000000
##D476EB1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6195EF
Deuteranopia (green-blind)
#7E9FE8
Tritanopia (blue-blind)
#D586A6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d476eb;
/* rgb */ color: rgb(212, 118, 235);
/* oklch */ color: oklch(71.3% 0.188 319.5);
Tailwind
colors: {
  custom: {
    50: '#e3a1f2',
    500: '#d476eb',
    950: '#000000',
  },
}
SCSS
$custom: #d476eb;
$custom-light: #e3a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d476eb",
  "rgb": {
    "r": 212,
    "g": 118,
    "b": 235
  },
  "hsl": {
    "h": 288.205,
    "s": 74.522,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71339,
    "c": 0.18806,
    "h": 319.5
  },
  "luminance": 0.32952
}

Semantic roles & 50–950 ramp

primary
#D476EB
secondary
#D4EFCD
accent
#D70F36
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D476EB

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

Preview Lab → · Contrast checker → · Palette generator →

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