#D371C4#D371C4

#D371C4 is a light, vivid purple. Relative luminance 0.296; OKLCH L 68.7% C 0.159 H 333.1°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#D371C4
RGBrgb(211, 113, 196)
HSLhsl(309, 53%, 64%)
HSVhsv(309, 46%, 83%)
CMYKcmyk(0%, 46.4%, 7.1%, 17.3%)
CIE-LABlab(61.35, 49.64, -26.58)
CIE-LCHlch(61.35, 56.31, 331.83°)
OKLaboklab(68.7% 0.1422 -0.072)
OKLCHoklch(68.7% 0.159 333.1)
XYZxyz(42.7327, 29.6472, 55.6855)
Luminance0.2964 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D371C4 #71D380
analogous
#B171D3 #D371C4 #D37193
triadic
#D371C4 #C4D371 #71C4D3
tetradic
#D371C4 #D3B171 #71D380 #7193D3
square
#D371C4 #D3B171 #71D380 #7193D3
split-complementary
#D371C4 #93D371 #71D3B1
monochromatic
#9A308A #C542B1 #D371C4 #E1A0D7 #F0CEEB

Accessibility & contrast

On white

3.03
#D371C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#D371C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D371C4
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D371C4#FFFFFF#000000##000000
##D371C41.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8BC7
Deuteranopia (green-blind)
#8A99C1
Tritanopia (blue-blind)
#DB7791
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d371c4;
/* rgb */ color: rgb(211, 113, 196);
/* oklch */ color: oklch(68.7% 0.159 333.1);
Tailwind
colors: {
  custom: {
    50: '#e29dd6',
    500: '#d371c4',
    950: '#000000',
  },
}
SCSS
$custom: #d371c4;
$custom-light: #e29dd6;
$custom-dark: #000000;
JSON
{
  "hex": "#d371c4",
  "rgb": {
    "r": 211,
    "g": 113,
    "b": 196
  },
  "hsl": {
    "h": 309.184,
    "s": 52.688,
    "l": 63.529
  },
  "oklch": {
    "l": 0.68699,
    "c": 0.15937,
    "h": 333.1
  },
  "luminance": 0.29645
}

Semantic roles & 50–950 ramp

primary
#D371C4
secondary
#BFE1C4
accent
#C03D25
background
#FEF9FD
surface
#FCF2FA
border
#D5CCD3
text
#160E14
muted
#847E83

Preview Lab

Preview with #D371C4

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

Preview Lab → · Contrast checker → · Palette generator →

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