#D372EF#D372EF

#D372EF is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.9% C 0.198 H 318.2°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#D372EF
RGBrgb(211, 114, 239)
HSLhsl(287, 80%, 69%)
HSVhsv(287, 52%, 94%)
CMYKcmyk(11.7%, 52.3%, 0%, 6.3%)
CIE-LABlab(63.44, 57.03, -47.40)
CIE-LCHlch(63.44, 74.15, 320.27°)
OKLaboklab(70.87% 0.1475 -0.1317)
OKLCHoklch(70.87% 0.198 318.2)
XYZxyz(48.4591, 32.1173, 85.2912)
Luminance0.3212 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D372EF #8EEF72
analogous
#9572EF #D372EF #EF72CD
triadic
#D372EF #EFD372 #72EFD3
tetradic
#D372EF #EF9572 #8EEF72 #72CDEF
square
#D372EF #EF9572 #8EEF72 #72CDEF
split-complementary
#D372EF #CDEF72 #72EF95
monochromatic
#A618CF #C23BE9 #D372EF #E4A9F5 #F5E0FB

Accessibility & contrast

On white

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

On black

7.42
#D372EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D372EF
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D372EF#FFFFFF#000000##000000
##D372EF1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d372ef;
/* rgb */ color: rgb(211, 114, 239);
/* oklch */ color: oklch(70.9% 0.198 318.2);
Tailwind
colors: {
  custom: {
    50: '#e39ef5',
    500: '#d372ef',
    950: '#000000',
  },
}
SCSS
$custom: #d372ef;
$custom-light: #e39ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#d372ef",
  "rgb": {
    "r": 211,
    "g": 114,
    "b": 239
  },
  "hsl": {
    "h": 286.56,
    "s": 79.618,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70871,
    "c": 0.1978,
    "h": 318.2
  },
  "luminance": 0.32116
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D372EF

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

Preview Lab → · Contrast checker → · Palette generator →

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