#D372FB#D372FB

#D372FB is a light, highly saturated purple. Relative luminance 0.328; OKLCH L 71.5% C 0.210 H 315.1°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#D372FB
RGBrgb(211, 114, 251)
HSLhsl(282, 94%, 72%)
HSVhsv(282, 55%, 98%)
CMYKcmyk(15.9%, 54.6%, 0%, 1.6%)
CIE-LABlab(64.04, 59.41, -53.07)
CIE-LCHlch(64.04, 79.66, 318.23°)
OKLaboklab(71.51% 0.1485 -0.1482)
OKLCHoklch(71.51% 0.21 315.1)
XYZxyz(50.2911, 32.8501, 94.9396)
Luminance0.3285 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D372FB #9AFB72
analogous
#8F72FB #D372FB #FB72DE
triadic
#D372FB #FBD372 #72FBD3
tetradic
#D372FB #FB8F72 #9AFB72 #72DEFB
square
#D372FB #FB8F72 #9AFB72 #72DEFB
split-complementary
#D372FB #DEFB72 #72FB8F
monochromatic
#A907EC #C036F9 #D372FB #E6AEFD #F6E1FE

Accessibility & contrast

On white

2.77
#D372FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#D372FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D372FB
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D372FB#FFFFFF#000000##000000
##D372FB1.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F95FF
Deuteranopia (green-blind)
#719EF7
Tritanopia (blue-blind)
#D088AC
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d372fb;
/* rgb */ color: rgb(211, 114, 251);
/* oklch */ color: oklch(71.5% 0.210 315.1);
Tailwind
colors: {
  custom: {
    50: '#e39efd',
    500: '#d372fb',
    950: '#000000',
  },
}
SCSS
$custom: #d372fb;
$custom-light: #e39efd;
$custom-dark: #000000;
JSON
{
  "hex": "#d372fb",
  "rgb": {
    "r": 211,
    "g": 114,
    "b": 251
  },
  "hsl": {
    "h": 282.482,
    "s": 94.483,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71506,
    "c": 0.20983,
    "h": 315.1
  },
  "luminance": 0.32849
}

Semantic roles & 50–950 ramp

primary
#D372FB
secondary
#DDF6D3
accent
#E60043
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D372FB

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

Preview Lab → · Contrast checker → · Palette generator →

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