#D372F2#D372F2

#D372F2 is a light, highly saturated purple. Relative luminance 0.323; OKLCH L 71.0% C 0.201 H 317.4°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#D372F2
RGBrgb(211, 114, 242)
HSLhsl(285, 83%, 70%)
HSVhsv(285, 53%, 95%)
CMYKcmyk(12.8%, 52.9%, 0%, 5.1%)
CIE-LABlab(63.59, 57.62, -48.83)
CIE-LCHlch(63.59, 75.52, 319.72°)
OKLaboklab(71.03% 0.1478 -0.1359)
OKLCHoklch(71.03% 0.201 317.4)
XYZxyz(48.9060, 32.2960, 87.6448)
Luminance0.3229 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D372F2 #91F272
analogous
#9372F2 #D372F2 #F272D1
triadic
#D372F2 #F2D372 #72F2D3
tetradic
#D372F2 #F29372 #91F272 #72D1F2
square
#D372F2 #F29372 #91F272 #72D1F2
split-complementary
#D372F2 #D1F272 #72F293
monochromatic
#A714D6 #C23AED #D372F2 #E4AAF7 #F6E2FC

Accessibility & contrast

On white

2.82
#D372F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#D372F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D372F2
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D372F2#FFFFFF#000000##000000
##D372F21.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5794F6
Deuteranopia (green-blind)
#769DEF
Tritanopia (blue-blind)
#D286A8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d372f2;
/* rgb */ color: rgb(211, 114, 242);
/* oklch */ color: oklch(71.0% 0.201 317.4);
Tailwind
colors: {
  custom: {
    50: '#e39ef7',
    500: '#d372f2',
    950: '#000000',
  },
}
SCSS
$custom: #d372f2;
$custom-light: #e39ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#d372f2",
  "rgb": {
    "r": 211,
    "g": 114,
    "b": 242
  },
  "hsl": {
    "h": 285.469,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71027,
    "c": 0.20079,
    "h": 317.4
  },
  "luminance": 0.32294
}

Semantic roles & 50–950 ramp

primary
#D372F2
secondary
#D7F2CE
accent
#E0063B
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F17
muted
#847E85

Preview Lab

Preview with #D372F2

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

Preview Lab → · Contrast checker → · Palette generator →

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