#D968DC#D968DC

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

Color values

HEX#D968DC
RGBrgb(217, 104, 220)
HSLhsl(298, 62%, 64%)
HSVhsv(298, 53%, 86%)
CMYKcmyk(1.4%, 52.7%, 0%, 13.7%)
CIE-LABlab(61.50, 59.88, -39.81)
CIE-LCHlch(61.50, 71.91, 326.38°)
OKLaboklab(69.31% 0.1654 -0.1096)
OKLCHoklch(69.31% 0.198 326.5)
XYZxyz(46.4830, 29.8223, 71.0042)
Luminance0.2982 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D968DC #6BDC68
analogous
#9F68DC #D968DC #DC68A5
triadic
#D968DC #DCD968 #68DCD9
tetradic
#D968DC #DC9F68 #6BDC68 #68A5DC
square
#D968DC #DC9F68 #6BDC68 #68A5DC
split-complementary
#D968DC #A5DC68 #68DC9F
monochromatic
#A026A4 #CC36D0 #D968DC #E69AE8 #F2CBF3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D968DC#FFFFFF#000000##000000
##D968DC1.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)
#5B8BE0
Deuteranopia (green-blind)
#7F9AD9
Tritanopia (blue-blind)
#DE7699
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d968dc;
/* rgb */ color: rgb(217, 104, 220);
/* oklch */ color: oklch(69.3% 0.198 326.5);
Tailwind
colors: {
  custom: {
    50: '#e798e7',
    500: '#d968dc',
    950: '#000000',
  },
}
SCSS
$custom: #d968dc;
$custom-light: #e798e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d968dc",
  "rgb": {
    "r": 217,
    "g": 104,
    "b": 220
  },
  "hsl": {
    "h": 298.448,
    "s": 62.366,
    "l": 63.529
  },
  "oklch": {
    "l": 0.69312,
    "c": 0.19844,
    "h": 326.5
  },
  "luminance": 0.2982
}

Semantic roles & 50–950 ramp

primary
#D968DC
secondary
#BCE4BB
accent
#CA1B20
background
#FEF9FE
surface
#FDF2FC
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D968DC

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

Preview Lab → · Contrast checker → · Palette generator →

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