#D372FE#D372FE

#D372FE is a light, highly saturated purple. Relative luminance 0.330; OKLCH L 71.7% C 0.213 H 314.3°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#D372FE
RGBrgb(211, 114, 254)
HSLhsl(282, 99%, 72%)
HSVhsv(282, 55%, 100%)
CMYKcmyk(16.9%, 55.1%, 0%, 0.4%)
CIE-LABlab(64.19, 60.02, -54.47)
CIE-LCHlch(64.19, 81.05, 317.77°)
OKLaboklab(71.67% 0.1487 -0.1523)
OKLCHoklch(71.67% 0.213 314.3)
XYZxyz(50.7678, 33.0407, 97.4499)
Luminance0.3304 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D372FE #9DFE72
analogous
#8D72FE #D372FE #FE72E3
triadic
#D372FE #FED372 #72FED3
tetradic
#D372FE #FE8D72 #9DFE72 #72E3FE
square
#D372FE #FE8D72 #9DFE72 #72E3FE
split-complementary
#D372FE #E3FE72 #72FE8D
monochromatic
#A902F4 #C035FE #D372FE #E6AFFE #F6E1FF

Accessibility & contrast

On white

2.76
#D372FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#D372FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D372FE
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D372FE#FFFFFF#000000##000000
##D372FE1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D96FF
Deuteranopia (green-blind)
#6F9EFA
Tritanopia (blue-blind)
#D089AE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d372fe;
/* rgb */ color: rgb(211, 114, 254);
/* oklch */ color: oklch(71.7% 0.213 314.3);
Tailwind
colors: {
  custom: {
    50: '#e39eff',
    500: '#d372fe',
    950: '#000000',
  },
}
SCSS
$custom: #d372fe;
$custom-light: #e39eff;
$custom-dark: #000000;
JSON
{
  "hex": "#d372fe",
  "rgb": {
    "r": 211,
    "g": 114,
    "b": 254
  },
  "hsl": {
    "h": 281.571,
    "s": 98.592,
    "l": 72.157
  },
  "oklch": {
    "l": 0.7167,
    "c": 0.21285,
    "h": 314.3
  },
  "luminance": 0.33039
}

Semantic roles & 50–950 ramp

primary
#D372FE
secondary
#DFF7D4
accent
#E60046
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D372FE

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

Preview Lab → · Contrast checker → · Palette generator →

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