#D372EB#D372EB

#D372EB is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.7% C 0.194 H 319.4°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#D372EB
RGBrgb(211, 114, 235)
HSLhsl(288, 75%, 68%)
HSVhsv(288, 51%, 92%)
CMYKcmyk(10.2%, 51.5%, 0%, 7.8%)
CIE-LABlab(63.25, 56.25, -45.49)
CIE-LCHlch(63.25, 72.34, 321.04°)
OKLaboklab(70.67% 0.1471 -0.1262)
OKLCHoklch(70.67% 0.194 319.4)
XYZxyz(47.8748, 31.8835, 82.2135)
Luminance0.3188 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D372EB #8AEB72
analogous
#9672EB #D372EB #EB72C6
triadic
#D372EB #EBD372 #72EBD3
tetradic
#D372EB #EB9672 #8AEB72 #72C6EB
square
#D372EB #EB9672 #8AEB72 #72C6EB
split-complementary
#D372EB #C6EB72 #72EB96
monochromatic
#A51CC6 #C23CE3 #D372EB #E4A8F3 #F4DDFA

Accessibility & contrast

On white

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

On black

7.38
#D372EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D372EB
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D372EB#FFFFFF#000000##000000
##D372EB1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d372eb;
/* rgb */ color: rgb(211, 114, 235);
/* oklch */ color: oklch(70.7% 0.194 319.4);
Tailwind
colors: {
  custom: {
    50: '#e39ef2',
    500: '#d372eb',
    950: '#000000',
  },
}
SCSS
$custom: #d372eb;
$custom-light: #e39ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#d372eb",
  "rgb": {
    "r": 211,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 288.099,
    "s": 75.155,
    "l": 68.431
  },
  "oklch": {
    "l": 0.70665,
    "c": 0.19385,
    "h": 319.4
  },
  "luminance": 0.31882
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D372EB

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

Preview Lab → · Contrast checker → · Palette generator →

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