#D968EC#D968EC

#D968EC is a light, highly saturated purple. Relative luminance 0.307; OKLCH L 70.1% C 0.213 H 321.7°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#D968EC
RGBrgb(217, 104, 236)
HSLhsl(291, 78%, 67%)
HSVhsv(291, 56%, 93%)
CMYKcmyk(8.1%, 55.9%, 0%, 7.5%)
CIE-LABlab(62.26, 62.77, -47.54)
CIE-LCHlch(62.26, 78.74, 322.86°)
OKLaboklab(70.12% 0.167 -0.132)
OKLCHoklch(70.12% 0.213 321.7)
XYZxyz(48.7042, 30.7108, 82.7029)
Luminance0.3071 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D968EC #7BEC68
analogous
#9768EC #D968EC #EC68BD
triadic
#D968EC #ECD968 #68ECD9
tetradic
#D968EC #EC9768 #7BEC68 #68BDEC
square
#D968EC #EC9768 #7BEC68 #68BDEC
split-complementary
#D968EC #BDEC68 #68EC97
monochromatic
#A918C1 #CB32E5 #D968EC #E79EF3 #F4D5FA

Accessibility & contrast

On white

2.94
#D968EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#D968EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D968EC
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D968EC#FFFFFF#000000##000000
##D968EC1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#508EF0
Deuteranopia (green-blind)
#769BE8
Tritanopia (blue-blind)
#DB7BA0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d968ec;
/* rgb */ color: rgb(217, 104, 236);
/* oklch */ color: oklch(70.1% 0.213 321.7);
Tailwind
colors: {
  custom: {
    50: '#e898f2',
    500: '#d968ec',
    950: '#000000',
  },
}
SCSS
$custom: #d968ec;
$custom-light: #e898f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d968ec",
  "rgb": {
    "r": 217,
    "g": 104,
    "b": 236
  },
  "hsl": {
    "h": 291.364,
    "s": 77.647,
    "l": 66.667
  },
  "oklch": {
    "l": 0.70119,
    "c": 0.21286,
    "h": 321.7
  },
  "luminance": 0.30708
}

Semantic roles & 50–950 ramp

primary
#D968EC
secondary
#C9EDC3
accent
#DA0C29
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D968EC

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

Preview Lab → · Contrast checker → · Palette generator →

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