#D968ED#D968ED

#D968ED is a light, highly saturated purple. Relative luminance 0.308; OKLCH L 70.2% C 0.214 H 321.4°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#D968ED
RGBrgb(217, 104, 237)
HSLhsl(291, 79%, 67%)
HSVhsv(291, 56%, 93%)
CMYKcmyk(8.4%, 56.1%, 0%, 7.1%)
CIE-LABlab(62.31, 62.96, -48.02)
CIE-LCHlch(62.31, 79.18, 322.66°)
OKLaboklab(70.17% 0.1671 -0.1333)
OKLCHoklch(70.17% 0.214 321.4)
XYZxyz(48.8499, 30.7690, 83.4702)
Luminance0.3077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D968ED #7CED68
analogous
#9668ED #D968ED #ED68BF
triadic
#D968ED #EDD968 #68EDD9
tetradic
#D968ED #ED9668 #7CED68 #68BFED
square
#D968ED #ED9668 #7CED68 #68BFED
split-complementary
#D968ED #BFED68 #68ED96
monochromatic
#A917C3 #CB31E6 #D968ED #E79FF4 #F5D5FA

Accessibility & contrast

On white

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

On black

7.15
#D968ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D968ED
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D968ED#FFFFFF#000000##000000
##D968ED1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8EF1
Deuteranopia (green-blind)
#769BE9
Tritanopia (blue-blind)
#DB7BA1
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d968ed;
/* rgb */ color: rgb(217, 104, 237);
/* oklch */ color: oklch(70.2% 0.214 321.4);
Tailwind
colors: {
  custom: {
    50: '#e898f3',
    500: '#d968ed',
    950: '#000000',
  },
}
SCSS
$custom: #d968ed;
$custom-light: #e898f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d968ed",
  "rgb": {
    "r": 217,
    "g": 104,
    "b": 237
  },
  "hsl": {
    "h": 290.977,
    "s": 78.698,
    "l": 66.863
  },
  "oklch": {
    "l": 0.70171,
    "c": 0.21378,
    "h": 321.4
  },
  "luminance": 0.30767
}

Semantic roles & 50–950 ramp

primary
#D968ED
secondary
#CAEEC3
accent
#DB0B2A
background
#FEF9FE
surface
#FDF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D968ED

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

Preview Lab → · Contrast checker → · Palette generator →

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