#D471EC#D471EC

#D471EC is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.7% C 0.197 H 319.5°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#D471EC
RGBrgb(212, 113, 236)
HSLhsl(288, 76%, 68%)
HSVhsv(288, 52%, 93%)
CMYKcmyk(10.2%, 52.1%, 0%, 7.5%)
CIE-LABlab(63.23, 57.20, -46.06)
CIE-LCHlch(63.23, 73.44, 321.16°)
OKLaboklab(70.7% 0.1497 -0.1278)
OKLCHoklch(70.7% 0.197 319.5)
XYZxyz(48.1949, 31.8653, 82.9526)
Luminance0.3186 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D471EC #89EC71
analogous
#9671EC #D471EC #EC71C6
triadic
#D471EC #ECD471 #71ECD4
tetradic
#D471EC #EC9671 #89EC71 #71C6EC
square
#D471EC #EC9671 #89EC71 #71C6EC
split-complementary
#D471EC #C6EC71 #71EC96
monochromatic
#A61BC8 #C43BE5 #D471EC #E4A7F3 #F5DDFA

Accessibility & contrast

On white

2.85
#D471EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#D471EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D471EC
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D471EC#FFFFFF#000000##000000
##D471EC1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A92F0
Deuteranopia (green-blind)
#799DE9
Tritanopia (blue-blind)
#D583A4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d471ec;
/* rgb */ color: rgb(212, 113, 236);
/* oklch */ color: oklch(70.7% 0.197 319.5);
Tailwind
colors: {
  custom: {
    50: '#e49df2',
    500: '#d471ec',
    950: '#000000',
  },
}
SCSS
$custom: #d471ec;
$custom-light: #e49df2;
$custom-dark: #000000;
JSON
{
  "hex": "#d471ec",
  "rgb": {
    "r": 212,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 288.293,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70696,
    "c": 0.19687,
    "h": 319.5
  },
  "luminance": 0.31863
}

Semantic roles & 50–950 ramp

primary
#D471EC
secondary
#D1EFCA
accent
#D90D35
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160F17
muted
#847E85

Preview Lab

Preview with #D471EC

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

Preview Lab → · Contrast checker → · Palette generator →

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