#D371CC#D371CC

#D371CC is a light, vivid purple. Relative luminance 0.300; OKLCH L 69.0% C 0.166 H 329.9°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#D371CC
RGBrgb(211, 113, 204)
HSLhsl(304, 53%, 64%)
HSVhsv(304, 46%, 83%)
CMYKcmyk(0%, 46.4%, 3.3%, 17.3%)
CIE-LABlab(61.67, 51.02, -30.60)
CIE-LCHlch(61.67, 59.49, 329.04°)
OKLaboklab(69.05% 0.1438 -0.0834)
OKLCHoklch(69.05% 0.166 329.9)
XYZxyz(43.6677, 30.0212, 60.6096)
Luminance0.3002 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D371CC #71D378
analogous
#A971D3 #D371CC #D3719B
triadic
#D371CC #CCD371 #71CCD3
tetradic
#D371CC #D3A971 #71D378 #719BD3
square
#D371CC #D3A971 #71D378 #719BD3
split-complementary
#D371CC #9BD371 #71D3A9
monochromatic
#9A3092 #C542BB #D371CC #E1A0DD #F0CEEE

Accessibility & contrast

On white

3.00
#D371CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#D371CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D371CC
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D371CC#FFFFFF#000000##000000
##D371CC1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8DCF
Deuteranopia (green-blind)
#879AC9
Tritanopia (blue-blind)
#D97995
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d371cc;
/* rgb */ color: rgb(211, 113, 204);
/* oklch */ color: oklch(69.0% 0.166 329.9);
Tailwind
colors: {
  custom: {
    50: '#e29ddc',
    500: '#d371cc',
    950: '#000000',
  },
}
SCSS
$custom: #d371cc;
$custom-light: #e29ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#d371cc",
  "rgb": {
    "r": 211,
    "g": 113,
    "b": 204
  },
  "hsl": {
    "h": 304.286,
    "s": 52.688,
    "l": 63.529
  },
  "oklch": {
    "l": 0.69047,
    "c": 0.16627,
    "h": 329.9
  },
  "luminance": 0.30019
}

Semantic roles & 50–950 ramp

primary
#D371CC
secondary
#BFE1C1
accent
#C03025
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D371CC

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

Preview Lab → · Contrast checker → · Palette generator →

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