#D371C7#D371C7

#D371C7 is a light, vivid purple. Relative luminance 0.298; OKLCH L 68.8% C 0.162 H 331.9°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#D371C7
RGBrgb(211, 113, 199)
HSLhsl(307, 53%, 64%)
HSVhsv(307, 46%, 83%)
CMYKcmyk(0%, 46.4%, 5.7%, 17.3%)
CIE-LABlab(61.47, 50.15, -28.09)
CIE-LCHlch(61.47, 57.48, 330.74°)
OKLaboklab(68.83% 0.1428 -0.0763)
OKLCHoklch(68.83% 0.162 331.9)
XYZxyz(43.0776, 29.7852, 57.5019)
Luminance0.2978 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D371C7 #71D37D
analogous
#AE71D3 #D371C7 #D37196
triadic
#D371C7 #C7D371 #71C7D3
tetradic
#D371C7 #D3AE71 #71D37D #7196D3
square
#D371C7 #D3AE71 #71D37D #7196D3
split-complementary
#D371C7 #96D371 #71D3AE
monochromatic
#9A308D #C542B5 #D371C7 #E1A0D9 #F0CEEC

Accessibility & contrast

On white

3.02
#D371C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#D371C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D371C7
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D371C7#FFFFFF#000000##000000
##D371C71.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8CCA
Deuteranopia (green-blind)
#8999C4
Tritanopia (blue-blind)
#DA7893
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d371c7;
/* rgb */ color: rgb(211, 113, 199);
/* oklch */ color: oklch(68.8% 0.162 331.9);
Tailwind
colors: {
  custom: {
    50: '#e29dd8',
    500: '#d371c7',
    950: '#000000',
  },
}
SCSS
$custom: #d371c7;
$custom-light: #e29dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#d371c7",
  "rgb": {
    "r": 211,
    "g": 113,
    "b": 199
  },
  "hsl": {
    "h": 307.347,
    "s": 52.688,
    "l": 63.529
  },
  "oklch": {
    "l": 0.68828,
    "c": 0.16192,
    "h": 331.9
  },
  "luminance": 0.29783
}

Semantic roles & 50–950 ramp

primary
#D371C7
secondary
#BFE1C3
accent
#C03825
background
#FEF9FD
surface
#FCF2FA
border
#D5CCD3
text
#160E14
muted
#847E83

Preview Lab

Preview with #D371C7

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

Preview Lab → · Contrast checker → · Palette generator →

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