#D372F5#D372F5

#D372F5 is a light, highly saturated purple. Relative luminance 0.325; OKLCH L 71.2% C 0.204 H 316.6°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#D372F5
RGBrgb(211, 114, 245)
HSLhsl(284, 87%, 70%)
HSVhsv(284, 53%, 96%)
CMYKcmyk(13.9%, 53.5%, 0%, 3.9%)
CIE-LABlab(63.74, 58.21, -50.25)
CIE-LCHlch(63.74, 76.90, 319.20°)
OKLaboklab(71.19% 0.1481 -0.14)
OKLCHoklch(71.19% 0.204 316.6)
XYZxyz(49.3603, 32.4777, 90.0372)
Luminance0.3248 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D372F5 #94F572
analogous
#9172F5 #D372F5 #F572D6
triadic
#D372F5 #F5D372 #72F5D3
tetradic
#D372F5 #F59172 #94F572 #72D6F5
square
#D372F5 #F59172 #94F572 #72D6F5
split-complementary
#D372F5 #D6F572 #72F591
monochromatic
#A810DD #C139F1 #D372F5 #E5ABF9 #F6E2FD

Accessibility & contrast

On white

2.80
#D372F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#D372F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D372F5
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D372F5#FFFFFF#000000##000000
##D372F51.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5494F9
Deuteranopia (green-blind)
#749DF2
Tritanopia (blue-blind)
#D286A9
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d372f5;
/* rgb */ color: rgb(211, 114, 245);
/* oklch */ color: oklch(71.2% 0.204 316.6);
Tailwind
colors: {
  custom: {
    50: '#e39ef9',
    500: '#d372f5',
    950: '#000000',
  },
}
SCSS
$custom: #d372f5;
$custom-light: #e39ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#d372f5",
  "rgb": {
    "r": 211,
    "g": 114,
    "b": 245
  },
  "hsl": {
    "h": 284.427,
    "s": 86.755,
    "l": 70.392
  },
  "oklch": {
    "l": 0.71185,
    "c": 0.20379,
    "h": 316.6
  },
  "luminance": 0.32476
}

Semantic roles & 50–950 ramp

primary
#D372F5
secondary
#D9F3CF
accent
#E3023D
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D372F5

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

Preview Lab → · Contrast checker → · Palette generator →

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