#D472EF#D472EF

#D472EF is a light, vivid purple. Relative luminance 0.323; OKLCH L 71.0% C 0.198 H 318.6°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#D472EF
RGBrgb(212, 114, 239)
HSLhsl(287, 80%, 69%)
HSVhsv(287, 52%, 94%)
CMYKcmyk(11.3%, 52.3%, 0%, 6.3%)
CIE-LABlab(63.56, 57.29, -47.20)
CIE-LCHlch(63.56, 74.23, 320.51°)
OKLaboklab(70.99% 0.1487 -0.1311)
OKLCHoklch(70.99% 0.198 318.6)
XYZxyz(48.7466, 32.2655, 85.3047)
Luminance0.3226 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D472EF #8DEF72
analogous
#9672EF #D472EF #EF72CC
triadic
#D472EF #EFD472 #72EFD4
tetradic
#D472EF #EF9672 #8DEF72 #72CCEF
square
#D472EF #EF9672 #8DEF72 #72CCEF
split-complementary
#D472EF #CCEF72 #72EF96
monochromatic
#A718CF #C33BE9 #D472EF #E5A9F5 #F6E0FB

Accessibility & contrast

On white

2.82
#D472EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#D472EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D472EF
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D472EF#FFFFFF#000000##000000
##D472EF1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5993F3
Deuteranopia (green-blind)
#799DEC
Tritanopia (blue-blind)
#D484A6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d472ef;
/* rgb */ color: rgb(212, 114, 239);
/* oklch */ color: oklch(71.0% 0.198 318.6);
Tailwind
colors: {
  custom: {
    50: '#e49ef5',
    500: '#d472ef',
    950: '#000000',
  },
}
SCSS
$custom: #d472ef;
$custom-light: #e49ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#d472ef",
  "rgb": {
    "r": 212,
    "g": 114,
    "b": 239
  },
  "hsl": {
    "h": 287.04,
    "s": 79.618,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70987,
    "c": 0.19827,
    "h": 318.6
  },
  "luminance": 0.32264
}

Semantic roles & 50–950 ramp

primary
#D472EF
secondary
#D4F1CC
accent
#DC0A37
background
#FEF9FF
surface
#FCF2FE
border
#D5CCD6
text
#160F17
muted
#847E85

Preview Lab

Preview with #D472EF

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

Preview Lab → · Contrast checker → · Palette generator →

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