#D476EF#D476EF

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

Color values

HEX#D476EF
RGBrgb(212, 118, 239)
HSLhsl(287, 79%, 70%)
HSVhsv(287, 51%, 94%)
CMYKcmyk(11.3%, 50.6%, 0%, 6.3%)
CIE-LABlab(64.31, 55.31, -46.02)
CIE-LCHlch(64.31, 71.95, 320.24°)
OKLaboklab(71.54% 0.1434 -0.1277)
OKLCHoklch(71.54% 0.192 318.3)
XYZxyz(49.2077, 33.1877, 85.4584)
Luminance0.3319 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D476EF #91EF76
analogous
#9876EF #D476EF #EF76CD
triadic
#D476EF #EFD476 #76EFD4
tetradic
#D476EF #EF9876 #91EF76 #76CDEF
square
#D476EF #EF9876 #91EF76 #76CDEF
split-complementary
#D476EF #CDEF76 #76EF98
monochromatic
#A919D2 #C33FE9 #D476EF #E5ADF5 #F6E4FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D476EF#FFFFFF#000000##000000
##D476EF1.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)
#5F96F3
Deuteranopia (green-blind)
#7C9FEC
Tritanopia (blue-blind)
#D488A8
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d476ef;
/* rgb */ color: rgb(212, 118, 239);
/* oklch */ color: oklch(71.5% 0.192 318.3);
Tailwind
colors: {
  custom: {
    50: '#e3a1f5',
    500: '#d476ef',
    950: '#000000',
  },
}
SCSS
$custom: #d476ef;
$custom-light: #e3a1f5;
$custom-dark: #000000;
JSON
{
  "hex": "#d476ef",
  "rgb": {
    "r": 212,
    "g": 118,
    "b": 239
  },
  "hsl": {
    "h": 286.612,
    "s": 79.085,
    "l": 70
  },
  "oklch": {
    "l": 0.71541,
    "c": 0.19206,
    "h": 318.3
  },
  "luminance": 0.33186
}

Semantic roles & 50–950 ramp

primary
#D476EF
secondary
#D7F1CF
accent
#DB0A39
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D476EF

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

Preview Lab → · Contrast checker → · Palette generator →

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