#D472EA#D472EA

#D472EA is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.7% C 0.193 H 320.0°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#D472EA
RGBrgb(212, 114, 234)
HSLhsl(289, 74%, 68%)
HSVhsv(289, 51%, 92%)
CMYKcmyk(9.4%, 51.3%, 0%, 8.2%)
CIE-LABlab(63.32, 56.32, -44.81)
CIE-LCHlch(63.32, 71.97, 321.49°)
OKLaboklab(70.73% 0.1482 -0.1242)
OKLCHoklch(70.73% 0.193 320)
XYZxyz(48.0181, 31.9741, 81.4682)
Luminance0.3197 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D472EA #88EA72
analogous
#9872EA #D472EA #EA72C4
triadic
#D472EA #EAD472 #72EAD4
tetradic
#D472EA #EA9872 #88EA72 #72C4EA
square
#D472EA #EA9872 #88EA72 #72C4EA
split-complementary
#D472EA #C4EA72 #72EA98
monochromatic
#A61DC4 #C43DE2 #D472EA #E4A7F2 #F4DDFA

Accessibility & contrast

On white

2.84
#D472EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#D472EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D472EA
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D472EA#FFFFFF#000000##000000
##D472EA1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D92EE
Deuteranopia (green-blind)
#7B9DE7
Tritanopia (blue-blind)
#D583A4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d472ea;
/* rgb */ color: rgb(212, 114, 234);
/* oklch */ color: oklch(70.7% 0.193 320.0);
Tailwind
colors: {
  custom: {
    50: '#e39ef1',
    500: '#d472ea',
    950: '#000000',
  },
}
SCSS
$custom: #d472ea;
$custom-light: #e39ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#d472ea",
  "rgb": {
    "r": 212,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 289,
    "s": 74.074,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70731,
    "c": 0.19336,
    "h": 320
  },
  "luminance": 0.31972
}

Semantic roles & 50–950 ramp

primary
#D472EA
secondary
#D0EECA
accent
#D60F34
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160F17
muted
#847E85

Preview Lab

Preview with #D472EA

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

Preview Lab → · Contrast checker → · Palette generator →

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