#D472EB#D472EB

#D472EB is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.8% C 0.194 H 319.7°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#D472EB
RGBrgb(212, 114, 235)
HSLhsl(289, 75%, 68%)
HSVhsv(289, 51%, 92%)
CMYKcmyk(9.8%, 51.5%, 0%, 7.8%)
CIE-LABlab(63.37, 56.51, -45.29)
CIE-LCHlch(63.37, 72.42, 321.29°)
OKLaboklab(70.78% 0.1483 -0.1256)
OKLCHoklch(70.78% 0.194 319.7)
XYZxyz(48.1622, 32.0318, 82.2269)
Luminance0.3203 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D472EB #89EB72
analogous
#9772EB #D472EB #EB72C5
triadic
#D472EB #EBD472 #72EBD4
tetradic
#D472EB #EB9772 #89EB72 #72C5EB
square
#D472EB #EB9772 #89EB72 #72C5EB
split-complementary
#D472EB #C5EB72 #72EB97
monochromatic
#A61CC6 #C43CE3 #D472EB #E4A8F3 #F5DDFA

Accessibility & contrast

On white

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

On black

7.41
#D472EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D472EB
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D472EB#FFFFFF#000000##000000
##D472EB1.002.847.417.41
#FFFFFF2.841.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d472eb;
/* rgb */ color: rgb(212, 114, 235);
/* oklch */ color: oklch(70.8% 0.194 319.7);
Tailwind
colors: {
  custom: {
    50: '#e49ef2',
    500: '#d472eb',
    950: '#000000',
  },
}
SCSS
$custom: #d472eb;
$custom-light: #e49ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#d472eb",
  "rgb": {
    "r": 212,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 288.595,
    "s": 75.155,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70782,
    "c": 0.19433,
    "h": 319.7
  },
  "luminance": 0.3203
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D472EB

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

Preview Lab → · Contrast checker → · Palette generator →

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