#D372EC#D372EC

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

Color values

HEX#D372EC
RGBrgb(211, 114, 236)
HSLhsl(288, 76%, 69%)
HSVhsv(288, 52%, 93%)
CMYKcmyk(10.6%, 51.7%, 0%, 7.5%)
CIE-LABlab(63.29, 56.44, -45.97)
CIE-LCHlch(63.29, 72.79, 320.84°)
OKLaboklab(70.72% 0.1472 -0.1276)
OKLCHoklch(70.72% 0.195 319.1)
XYZxyz(48.0196, 31.9415, 82.9765)
Luminance0.3194 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D372EC #8BEC72
analogous
#9672EC #D372EC #EC72C8
triadic
#D372EC #ECD372 #72ECD3
tetradic
#D372EC #EC9672 #8BEC72 #72C8EC
square
#D372EC #EC9672 #8BEC72 #72C8EC
split-complementary
#D372EC #C8EC72 #72EC96
monochromatic
#A51BC9 #C23CE5 #D372EC #E4A8F3 #F5DEFB

Accessibility & contrast

On white

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

On black

7.39
#D372EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D372EC
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D372EC#FFFFFF#000000##000000
##D372EC1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B93F0
Deuteranopia (green-blind)
#799DE9
Tritanopia (blue-blind)
#D484A5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d372ec;
/* rgb */ color: rgb(211, 114, 236);
/* oklch */ color: oklch(70.7% 0.195 319.1);
Tailwind
colors: {
  custom: {
    50: '#e39ef2',
    500: '#d372ec',
    950: '#000000',
  },
}
SCSS
$custom: #d372ec;
$custom-light: #e39ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#d372ec",
  "rgb": {
    "r": 211,
    "g": 114,
    "b": 236
  },
  "hsl": {
    "h": 287.705,
    "s": 76.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.70716,
    "c": 0.19484,
    "h": 319.1
  },
  "luminance": 0.3194
}

Semantic roles & 50–950 ramp

primary
#D372EC
secondary
#D2EFCB
accent
#D80D37
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160F17
muted
#847E85

Preview Lab

Preview with #D372EC

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

Preview Lab → · Contrast checker → · Palette generator →

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