#D864C8#D864C8

#D864C8 is a light, vivid purple. Relative luminance 0.279; OKLCH L 67.7% C 0.187 H 333.0°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#D864C8
RGBrgb(216, 100, 200)
HSLhsl(308, 60%, 62%)
HSVhsv(308, 54%, 85%)
CMYKcmyk(0%, 53.7%, 7.4%, 15.3%)
CIE-LABlab(59.79, 58.07, -31.21)
CIE-LCHlch(59.79, 65.92, 331.74°)
OKLaboklab(67.73% 0.1667 -0.085)
OKLCHoklch(67.73% 0.187 333)
XYZxyz(43.3014, 27.8864, 57.7343)
Luminance0.2788 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D864C8 #64D874
analogous
#AE64D8 #D864C8 #D8648E
triadic
#D864C8 #C8D864 #64C8D8
tetradic
#D864C8 #D8AE64 #64D874 #648ED8
square
#D864C8 #D8AE64 #64D874 #648ED8
split-complementary
#D864C8 #8ED864 #64D8AE
monochromatic
#9B278B #CC33B7 #D864C8 #E495D9 #F1C6EB

Accessibility & contrast

On white

3.19
#D864C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#D864C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D864C8
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D864C8#FFFFFF#000000##000000
##D864C81.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6185CB
Deuteranopia (green-blind)
#8496C5
Tritanopia (blue-blind)
#E06C8D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d864c8;
/* rgb */ color: rgb(216, 100, 200);
/* oklch */ color: oklch(67.7% 0.187 333.0);
Tailwind
colors: {
  custom: {
    50: '#e795d9',
    500: '#d864c8',
    950: '#000000',
  },
}
SCSS
$custom: #d864c8;
$custom-light: #e795d9;
$custom-dark: #000000;
JSON
{
  "hex": "#d864c8",
  "rgb": {
    "r": 216,
    "g": 100,
    "b": 200
  },
  "hsl": {
    "h": 308.276,
    "s": 59.794,
    "l": 61.961
  },
  "oklch": {
    "l": 0.67732,
    "c": 0.18707,
    "h": 333
  },
  "luminance": 0.27883
}

Semantic roles & 50–950 ramp

primary
#D864C8
secondary
#B7E1BC
accent
#C7351E
background
#FEF9FD
surface
#FDF2FA
border
#D5CCD3
text
#160E14
muted
#847E83

Preview Lab

Preview with #D864C8

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

Preview Lab → · Contrast checker → · Palette generator →

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