#D862CB#D862CB

#D862CB is a light, vivid purple. Relative luminance 0.276; OKLCH L 67.6% C 0.193 H 331.9°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#D862CB
RGBrgb(216, 98, 203)
HSLhsl(307, 60%, 62%)
HSVhsv(307, 55%, 85%)
CMYKcmyk(0%, 54.6%, 6%, 15.3%)
CIE-LABlab(59.57, 59.48, -33.25)
CIE-LCHlch(59.57, 68.15, 330.80°)
OKLaboklab(67.62% 0.1698 -0.0908)
OKLCHoklch(67.62% 0.193 331.9)
XYZxyz(43.4659, 27.6490, 59.5358)
Luminance0.2765 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D862CB #62D86F
analogous
#AA62D8 #D862CB #D86290
triadic
#D862CB #CBD862 #62CBD8
tetradic
#D862CB #D8AA62 #62D86F #6290D8
square
#D862CB #D8AA62 #62D86F #6290D8
split-complementary
#D862CB #90D862 #62D8AA
monochromatic
#99268D #CA32BA #D862CB #E493DB #F0C4EB

Accessibility & contrast

On white

3.22
#D862CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#D862CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D862CB
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D862CB#FFFFFF#000000##000000
##D862CB1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E85CE
Deuteranopia (green-blind)
#8196C8
Tritanopia (blue-blind)
#E06B8E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #d862cb;
/* rgb */ color: rgb(216, 98, 203);
/* oklch */ color: oklch(67.6% 0.193 331.9);
Tailwind
colors: {
  custom: {
    50: '#e794db',
    500: '#d862cb',
    950: '#000000',
  },
}
SCSS
$custom: #d862cb;
$custom-light: #e794db;
$custom-dark: #000000;
JSON
{
  "hex": "#d862cb",
  "rgb": {
    "r": 216,
    "g": 98,
    "b": 203
  },
  "hsl": {
    "h": 306.61,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.67615,
    "c": 0.19256,
    "h": 331.9
  },
  "luminance": 0.27646
}

Semantic roles & 50–950 ramp

primary
#D862CB
secondary
#B5E1BA
accent
#C8301E
background
#FEF9FD
surface
#FDF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D862CB

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

Preview Lab → · Contrast checker → · Palette generator →

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