#D371DE#D371DE

#D371DE is a light, vivid purple. Relative luminance 0.309; OKLCH L 69.9% C 0.183 H 323.4°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#D371DE
RGBrgb(211, 113, 222)
HSLhsl(294, 62%, 66%)
HSVhsv(294, 49%, 87%)
CMYKcmyk(5%, 49.1%, 0%, 12.9%)
CIE-LABlab(62.45, 54.27, -39.50)
CIE-LCHlch(62.45, 67.12, 323.95°)
OKLaboklab(69.88% 0.1469 -0.1089)
OKLCHoklch(69.88% 0.183 323.4)
XYZxyz(45.9526, 30.9352, 72.6436)
Luminance0.3093 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D371DE #7CDE71
analogous
#9C71DE #D371DE #DE71B2
triadic
#D371DE #DED371 #71DED3
tetradic
#D371DE #DE9C71 #7CDE71 #71B2DE
square
#D371DE #DE9C71 #7CDE71 #71B2DE
split-complementary
#D371DE #B2DE71 #71DE9C
monochromatic
#9F28AD #C43FD2 #D371DE #E2A3EA #F2D4F5

Accessibility & contrast

On white

2.92
#D371DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#D371DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D371DE
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D371DE#FFFFFF#000000##000000
##D371DE1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6290E2
Deuteranopia (green-blind)
#809BDB
Tritanopia (blue-blind)
#D67F9D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d371de;
/* rgb */ color: rgb(211, 113, 222);
/* oklch */ color: oklch(69.9% 0.183 323.4);
Tailwind
colors: {
  custom: {
    50: '#e39de8',
    500: '#d371de',
    950: '#000000',
  },
}
SCSS
$custom: #d371de;
$custom-light: #e39de8;
$custom-dark: #000000;
JSON
{
  "hex": "#d371de",
  "rgb": {
    "r": 211,
    "g": 113,
    "b": 222
  },
  "hsl": {
    "h": 293.945,
    "s": 62.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.69881,
    "c": 0.18283,
    "h": 323.4
  },
  "luminance": 0.30933
}

Semantic roles & 50–950 ramp

primary
#D371DE
secondary
#C7E8C3
accent
#CA1B2D
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160F16
muted
#847E84

Preview Lab

Preview with #D371DE

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

Preview Lab → · Contrast checker → · Palette generator →

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