#D968EF#D968EF

#D968EF is a light, highly saturated purple. Relative luminance 0.309; OKLCH L 70.3% C 0.216 H 320.9°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#D968EF
RGBrgb(217, 104, 239)
HSLhsl(290, 81%, 67%)
HSVhsv(290, 56%, 94%)
CMYKcmyk(9.2%, 56.5%, 0%, 6.3%)
CIE-LABlab(62.41, 63.33, -48.97)
CIE-LCHlch(62.41, 80.06, 322.28°)
OKLaboklab(70.28% 0.1672 -0.1361)
OKLCHoklch(70.28% 0.216 320.9)
XYZxyz(49.1438, 30.8866, 85.0177)
Luminance0.3088 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D968EF #7EEF68
analogous
#9568EF #D968EF #EF68C2
triadic
#D968EF #EFD968 #68EFD9
tetradic
#D968EF #EF9568 #7EEF68 #68C2EF
square
#D968EF #EF9568 #7EEF68 #68C2EF
split-complementary
#D968EF #C2EF68 #68EF95
monochromatic
#AA15C7 #CB31E9 #D968EF #E79FF5 #F5D7FB

Accessibility & contrast

On white

2.93
#D968EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#D968EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D968EF
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D968EF#FFFFFF#000000##000000
##D968EF1.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8FF3
Deuteranopia (green-blind)
#759BEB
Tritanopia (blue-blind)
#DB7CA2
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d968ef;
/* rgb */ color: rgb(217, 104, 239);
/* oklch */ color: oklch(70.3% 0.216 320.9);
Tailwind
colors: {
  custom: {
    50: '#e898f5',
    500: '#d968ef',
    950: '#000000',
  },
}
SCSS
$custom: #d968ef;
$custom-light: #e898f5;
$custom-dark: #000000;
JSON
{
  "hex": "#d968ef",
  "rgb": {
    "r": 217,
    "g": 104,
    "b": 239
  },
  "hsl": {
    "h": 290.222,
    "s": 80.838,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70276,
    "c": 0.21562,
    "h": 320.9
  },
  "luminance": 0.30884
}

Semantic roles & 50–950 ramp

primary
#D968EF
secondary
#CBEFC4
accent
#DD082B
background
#FEF9FF
surface
#FDF2FE
border
#D5CCD6
text
#160E17
muted
#847E85

Preview Lab

Preview with #D968EF

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

Preview Lab → · Contrast checker → · Palette generator →

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