#D472EC#D472EC

#D472EC is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.8% C 0.195 H 319.4°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#D472EC
RGBrgb(212, 114, 236)
HSLhsl(288, 76%, 69%)
HSVhsv(288, 52%, 93%)
CMYKcmyk(10.2%, 51.7%, 0%, 7.5%)
CIE-LABlab(63.42, 56.71, -45.77)
CIE-LCHlch(63.42, 72.87, 321.09°)
OKLaboklab(70.83% 0.1484 -0.127)
OKLCHoklch(70.83% 0.195 319.4)
XYZxyz(48.3071, 32.0897, 82.9899)
Luminance0.3209 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D472EC #8AEC72
analogous
#9772EC #D472EC #EC72C7
triadic
#D472EC #ECD472 #72ECD4
tetradic
#D472EC #EC9772 #8AEC72 #72C7EC
square
#D472EC #EC9772 #8AEC72 #72C7EC
split-complementary
#D472EC #C7EC72 #72EC97
monochromatic
#A61BC9 #C43CE5 #D472EC #E4A8F3 #F5DEFB

Accessibility & contrast

On white

2.83
#D472EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#D472EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D472EC
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D472EC#FFFFFF#000000##000000
##D472EC1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B93F0
Deuteranopia (green-blind)
#7A9DE9
Tritanopia (blue-blind)
#D583A5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d472ec;
/* rgb */ color: rgb(212, 114, 236);
/* oklch */ color: oklch(70.8% 0.195 319.4);
Tailwind
colors: {
  custom: {
    50: '#e49ef2',
    500: '#d472ec',
    950: '#000000',
  },
}
SCSS
$custom: #d472ec;
$custom-light: #e49ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#d472ec",
  "rgb": {
    "r": 212,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 288.197,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70833,
    "c": 0.19532,
    "h": 319.4
  },
  "luminance": 0.32088
}

Semantic roles & 50–950 ramp

primary
#D472EC
secondary
#D2EFCB
accent
#D80D35
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160F17
muted
#847E85

Preview Lab

Preview with #D472EC

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

Preview Lab → · Contrast checker → · Palette generator →

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