#D372F0#D372F0

#D372F0 is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.9% C 0.199 H 318.0°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#D372F0
RGBrgb(211, 114, 240)
HSLhsl(286, 81%, 69%)
HSVhsv(286, 53%, 94%)
CMYKcmyk(12.1%, 52.5%, 0%, 5.9%)
CIE-LABlab(63.49, 57.22, -47.88)
CIE-LCHlch(63.49, 74.61, 320.08°)
OKLaboklab(70.92% 0.1476 -0.1331)
OKLCHoklch(70.92% 0.199 318)
XYZxyz(48.6073, 32.1765, 86.0714)
Luminance0.3217 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D372F0 #8FF072
analogous
#9472F0 #D372F0 #F072CE
triadic
#D372F0 #F0D372 #72F0D3
tetradic
#D372F0 #F09472 #8FF072 #72CEF0
square
#D372F0 #F09472 #8FF072 #72CEF0
split-complementary
#D372F0 #CEF072 #72F094
monochromatic
#A616D1 #C23BEA #D372F0 #E4A9F6 #F6E1FC

Accessibility & contrast

On white

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

On black

7.43
#D372F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D372F0
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D372F0#FFFFFF#000000##000000
##D372F01.002.827.437.43
#FFFFFF2.821.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5893F4
Deuteranopia (green-blind)
#779DED
Tritanopia (blue-blind)
#D385A7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d372f0;
/* rgb */ color: rgb(211, 114, 240);
/* oklch */ color: oklch(70.9% 0.199 318.0);
Tailwind
colors: {
  custom: {
    50: '#e39ef5',
    500: '#d372f0',
    950: '#000000',
  },
}
SCSS
$custom: #d372f0;
$custom-light: #e39ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#d372f0",
  "rgb": {
    "r": 211,
    "g": 114,
    "b": 240
  },
  "hsl": {
    "h": 286.19,
    "s": 80.769,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70923,
    "c": 0.1988,
    "h": 318
  },
  "luminance": 0.32175
}

Semantic roles & 50–950 ramp

primary
#D372F0
secondary
#D5F1CD
accent
#DD0839
background
#FEF9FF
surface
#FCF2FE
border
#D5CCD6
text
#160F17
muted
#847E85

Preview Lab

Preview with #D372F0

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

Preview Lab → · Contrast checker → · Palette generator →

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