#D371CD#D371CD

#D371CD is a light, vivid purple. Relative luminance 0.301; OKLCH L 69.1% C 0.167 H 329.5°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#D371CD
RGBrgb(211, 113, 205)
HSLhsl(304, 53%, 64%)
HSVhsv(304, 46%, 83%)
CMYKcmyk(0%, 46.4%, 2.8%, 17.3%)
CIE-LABlab(61.71, 51.19, -31.10)
CIE-LCHlch(61.71, 59.90, 328.72°)
OKLaboklab(69.09% 0.144 -0.0849)
OKLCHoklch(69.09% 0.167 329.5)
XYZxyz(43.7880, 30.0693, 61.2433)
Luminance0.3007 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D371CD #71D377
analogous
#A871D3 #D371CD #D3719C
triadic
#D371CD #CDD371 #71CDD3
tetradic
#D371CD #D3A871 #71D377 #719CD3
square
#D371CD #D3A871 #71D377 #719CD3
split-complementary
#D371CD #9CD371 #71D3A8
monochromatic
#9A3093 #C542BD #D371CD #E1A0DD #F0CEEE

Accessibility & contrast

On white

2.99
#D371CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.01
#D371CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D371CD
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D371CD#FFFFFF#000000##000000
##D371CD1.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8DD0
Deuteranopia (green-blind)
#879ACA
Tritanopia (blue-blind)
#D97996
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d371cd;
/* rgb */ color: rgb(211, 113, 205);
/* oklch */ color: oklch(69.1% 0.167 329.5);
Tailwind
colors: {
  custom: {
    50: '#e29ddc',
    500: '#d371cd',
    950: '#000000',
  },
}
SCSS
$custom: #d371cd;
$custom-light: #e29ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#d371cd",
  "rgb": {
    "r": 211,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 303.673,
    "s": 52.688,
    "l": 63.529
  },
  "oklch": {
    "l": 0.69091,
    "c": 0.16716,
    "h": 329.5
  },
  "luminance": 0.30067
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D371CD

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

Preview Lab → · Contrast checker → · Palette generator →

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