#D372EA#D372EA

#D372EA is a light, vivid purple. Relative luminance 0.318; OKLCH L 70.6% C 0.193 H 319.7°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#D372EA
RGBrgb(211, 114, 234)
HSLhsl(289, 74%, 68%)
HSVhsv(289, 51%, 92%)
CMYKcmyk(9.8%, 51.3%, 0%, 8.2%)
CIE-LABlab(63.20, 56.05, -45.01)
CIE-LCHlch(63.20, 71.89, 321.24°)
OKLaboklab(70.62% 0.147 -0.1248)
OKLCHoklch(70.62% 0.193 319.7)
XYZxyz(47.7307, 31.8259, 81.4547)
Luminance0.3182 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D372EA #89EA72
analogous
#9772EA #D372EA #EA72C5
triadic
#D372EA #EAD372 #72EAD3
tetradic
#D372EA #EA9772 #89EA72 #72C5EA
square
#D372EA #EA9772 #89EA72 #72C5EA
split-complementary
#D372EA #C5EA72 #72EA97
monochromatic
#A41DC4 #C23DE2 #D372EA #E4A7F2 #F4DDFA

Accessibility & contrast

On white

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

On black

7.36
#D372EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D372EA
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D372EA#FFFFFF#000000##000000
##D372EA1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C92EE
Deuteranopia (green-blind)
#7B9CE7
Tritanopia (blue-blind)
#D483A4
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d372ea;
/* rgb */ color: rgb(211, 114, 234);
/* oklch */ color: oklch(70.6% 0.193 319.7);
Tailwind
colors: {
  custom: {
    50: '#e39ef1',
    500: '#d372ea',
    950: '#000000',
  },
}
SCSS
$custom: #d372ea;
$custom-light: #e39ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#d372ea",
  "rgb": {
    "r": 211,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 288.5,
    "s": 74.074,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70615,
    "c": 0.19287,
    "h": 319.7
  },
  "luminance": 0.31824
}

Semantic roles & 50–950 ramp

primary
#D372EA
secondary
#D1EECA
accent
#D60F35
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160F17
muted
#847E85

Preview Lab

Preview with #D372EA

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

Preview Lab → · Contrast checker → · Palette generator →

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