#D372F7#D372F7

#D372F7 is a light, highly saturated purple. Relative luminance 0.326; OKLCH L 71.3% C 0.206 H 316.1°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#D372F7
RGBrgb(211, 114, 247)
HSLhsl(284, 89%, 71%)
HSVhsv(284, 54%, 97%)
CMYKcmyk(14.6%, 53.8%, 0%, 3.1%)
CIE-LABlab(63.84, 58.61, -51.19)
CIE-LCHlch(63.84, 77.82, 318.86°)
OKLaboklab(71.29% 0.1482 -0.1428)
OKLCHoklch(71.29% 0.206 316.1)
XYZxyz(49.6672, 32.6005, 91.6539)
Luminance0.3260 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D372F7 #96F772
analogous
#9072F7 #D372F7 #F772D9
triadic
#D372F7 #F7D372 #72F7D3
tetradic
#D372F7 #F79072 #96F772 #72D9F7
square
#D372F7 #F79072 #96F772 #72D9F7
split-complementary
#D372F7 #D9F772 #72F790
monochromatic
#A80DE2 #C138F4 #D372F7 #E5ACFA #F6E2FD

Accessibility & contrast

On white

2.79
#D372F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#D372F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D372F7
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D372F7#FFFFFF#000000##000000
##D372F71.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5395FB
Deuteranopia (green-blind)
#739EF4
Tritanopia (blue-blind)
#D187AA
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d372f7;
/* rgb */ color: rgb(211, 114, 247);
/* oklch */ color: oklch(71.3% 0.206 316.1);
Tailwind
colors: {
  custom: {
    50: '#e39efa',
    500: '#d372f7',
    950: '#000000',
  },
}
SCSS
$custom: #d372f7;
$custom-light: #e39efa;
$custom-dark: #000000;
JSON
{
  "hex": "#d372f7",
  "rgb": {
    "r": 211,
    "g": 114,
    "b": 247
  },
  "hsl": {
    "h": 283.759,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71291,
    "c": 0.2058,
    "h": 316.1
  },
  "luminance": 0.32599
}

Semantic roles & 50–950 ramp

primary
#D372F7
secondary
#DAF4D1
accent
#E6003E
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D372F7

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

Preview Lab → · Contrast checker → · Palette generator →

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