#D372EE#D372EE

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

Color values

HEX#D372EE
RGBrgb(211, 114, 238)
HSLhsl(287, 78%, 69%)
HSVhsv(287, 52%, 93%)
CMYKcmyk(11.3%, 52.1%, 0%, 6.7%)
CIE-LABlab(63.39, 56.83, -46.92)
CIE-LCHlch(63.39, 73.70, 320.45°)
OKLaboklab(70.82% 0.1475 -0.1304)
OKLCHoklch(70.82% 0.197 318.5)
XYZxyz(48.3118, 32.0584, 84.5154)
Luminance0.3206 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D372EE #8DEE72
analogous
#9572EE #D372EE #EE72CB
triadic
#D372EE #EED372 #72EED3
tetradic
#D372EE #EE9572 #8DEE72 #72CBEE
square
#D372EE #EE9572 #8DEE72 #72CBEE
split-complementary
#D372EE #CBEE72 #72EE95
monochromatic
#A619CD #C23BE7 #D372EE #E4A9F5 #F5DFFB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D372EE#FFFFFF#000000##000000
##D372EE1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A93F2
Deuteranopia (green-blind)
#789DEB
Tritanopia (blue-blind)
#D384A6
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d372ee;
/* rgb */ color: rgb(211, 114, 238);
/* oklch */ color: oklch(70.8% 0.197 318.5);
Tailwind
colors: {
  custom: {
    50: '#e39ef4',
    500: '#d372ee',
    950: '#000000',
  },
}
SCSS
$custom: #d372ee;
$custom-light: #e39ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#d372ee",
  "rgb": {
    "r": 211,
    "g": 114,
    "b": 238
  },
  "hsl": {
    "h": 286.935,
    "s": 78.481,
    "l": 69.02
  },
  "oklch": {
    "l": 0.70819,
    "c": 0.19682,
    "h": 318.5
  },
  "luminance": 0.32057
}

Semantic roles & 50–950 ramp

primary
#D372EE
secondary
#D4F0CC
accent
#DB0B38
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160F17
muted
#847E85

Preview Lab

Preview with #D372EE

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

Preview Lab → · Contrast checker → · Palette generator →

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