#D371CA#D371CA

#D371CA is a light, vivid purple. Relative luminance 0.299; OKLCH L 69.0% C 0.165 H 330.7°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#D371CA
RGBrgb(211, 113, 202)
HSLhsl(306, 53%, 64%)
HSVhsv(306, 46%, 83%)
CMYKcmyk(0%, 46.4%, 4.3%, 17.3%)
CIE-LABlab(61.59, 50.67, -29.60)
CIE-LCHlch(61.59, 58.68, 329.71°)
OKLaboklab(68.96% 0.1434 -0.0806)
OKLCHoklch(68.96% 0.165 330.7)
XYZxyz(43.4294, 29.9259, 59.3544)
Luminance0.2992 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D371CA #71D37A
analogous
#AB71D3 #D371CA #D37199
triadic
#D371CA #CAD371 #71CAD3
tetradic
#D371CA #D3AB71 #71D37A #7199D3
square
#D371CA #D3AB71 #71D37A #7199D3
split-complementary
#D371CA #99D371 #71D3AB
monochromatic
#9A3090 #C542B9 #D371CA #E1A0DB #F0CEED

Accessibility & contrast

On white

3.01
#D371CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#D371CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D371CA
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D371CA#FFFFFF#000000##000000
##D371CA1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8CCD
Deuteranopia (green-blind)
#889AC7
Tritanopia (blue-blind)
#DA7994
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d371ca;
/* rgb */ color: rgb(211, 113, 202);
/* oklch */ color: oklch(69.0% 0.165 330.7);
Tailwind
colors: {
  custom: {
    50: '#e29dda',
    500: '#d371ca',
    950: '#000000',
  },
}
SCSS
$custom: #d371ca;
$custom-light: #e29dda;
$custom-dark: #000000;
JSON
{
  "hex": "#d371ca",
  "rgb": {
    "r": 211,
    "g": 113,
    "b": 202
  },
  "hsl": {
    "h": 305.51,
    "s": 52.688,
    "l": 63.529
  },
  "oklch": {
    "l": 0.68959,
    "c": 0.16452,
    "h": 330.7
  },
  "luminance": 0.29923
}

Semantic roles & 50–950 ramp

primary
#D371CA
secondary
#BFE1C2
accent
#C03425
background
#FEF9FD
surface
#FCF2FA
border
#D5CCD3
text
#160E15
muted
#847E83

Preview Lab

Preview with #D371CA

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

Preview Lab → · Contrast checker → · Palette generator →

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