#D372DC#D372DC

#D372DC is a light, vivid purple. Relative luminance 0.311; OKLCH L 69.9% C 0.179 H 324.1°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#D372DC
RGBrgb(211, 114, 220)
HSLhsl(295, 60%, 65%)
HSVhsv(295, 48%, 86%)
CMYKcmyk(4.1%, 48.2%, 0%, 13.7%)
CIE-LABlab(62.55, 53.40, -38.22)
CIE-LCHlch(62.55, 65.67, 324.41°)
OKLaboklab(69.93% 0.1452 -0.1052)
OKLCHoklch(69.93% 0.179 324.1)
XYZxyz(45.7983, 31.0530, 71.2777)
Luminance0.3105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D372DC #7BDC72
analogous
#9E72DC #D372DC #DC72B0
triadic
#D372DC #DCD372 #72DCD3
tetradic
#D372DC #DC9E72 #7BDC72 #72B0DC
square
#D372DC #DC9E72 #7BDC72 #72B0DC
split-complementary
#D372DC #B0DC72 #72DC9E
monochromatic
#9F2AAA #C441D0 #D372DC #E2A3E8 #F2D4F4

Accessibility & contrast

On white

2.91
#D372DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#D372DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D372DC
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D372DC#FFFFFF#000000##000000
##D372DC1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6590E0
Deuteranopia (green-blind)
#819BD9
Tritanopia (blue-blind)
#D77F9D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d372dc;
/* rgb */ color: rgb(211, 114, 220);
/* oklch */ color: oklch(69.9% 0.179 324.1);
Tailwind
colors: {
  custom: {
    50: '#e39ee7',
    500: '#d372dc',
    950: '#000000',
  },
}
SCSS
$custom: #d372dc;
$custom-light: #e39ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#d372dc",
  "rgb": {
    "r": 211,
    "g": 114,
    "b": 220
  },
  "hsl": {
    "h": 294.906,
    "s": 60.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.69926,
    "c": 0.17933,
    "h": 324.1
  },
  "luminance": 0.31051
}

Semantic roles & 50–950 ramp

primary
#D372DC
secondary
#C6E7C3
accent
#C81E2C
background
#FEF9FE
surface
#FCF2FC
border
#D5CCD5
text
#160F16
muted
#847E84

Preview Lab

Preview with #D372DC

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

Preview Lab → · Contrast checker → · Palette generator →

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