#D968F2#D968F2

#D968F2 is a light, highly saturated purple. Relative luminance 0.311; OKLCH L 70.4% C 0.218 H 320.0°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#D968F2
RGBrgb(217, 104, 242)
HSLhsl(289, 84%, 68%)
HSVhsv(289, 57%, 95%)
CMYKcmyk(10.3%, 57%, 0%, 5.1%)
CIE-LABlab(62.56, 63.89, -50.40)
CIE-LCHlch(62.56, 81.38, 321.73°)
OKLaboklab(70.44% 0.1674 -0.1403)
OKLCHoklch(70.44% 0.218 320)
XYZxyz(49.5906, 31.0653, 87.3712)
Luminance0.3106 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D968F2 #81F268
analogous
#9468F2 #D968F2 #F268C6
triadic
#D968F2 #F2D968 #68F2D9
tetradic
#D968F2 #F29468 #81F268 #68C6F2
square
#D968F2 #F29468 #81F268 #68C6F2
split-complementary
#D968F2 #C6F268 #68F294
monochromatic
#AC12CE #CB30ED #D968F2 #E7A0F7 #F5D9FC

Accessibility & contrast

On white

2.91
#D968F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#D968F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D968F2
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D968F2#FFFFFF#000000##000000
##D968F21.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8FF6
Deuteranopia (green-blind)
#739BEE
Tritanopia (blue-blind)
#DA7DA4
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d968f2;
/* rgb */ color: rgb(217, 104, 242);
/* oklch */ color: oklch(70.4% 0.218 320.0);
Tailwind
colors: {
  custom: {
    50: '#e898f7',
    500: '#d968f2',
    950: '#000000',
  },
}
SCSS
$custom: #d968f2;
$custom-light: #e898f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d968f2",
  "rgb": {
    "r": 217,
    "g": 104,
    "b": 242
  },
  "hsl": {
    "h": 289.13,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.70435,
    "c": 0.2184,
    "h": 320
  },
  "luminance": 0.31063
}

Semantic roles & 50–950 ramp

primary
#D968F2
secondary
#CDF0C6
accent
#E1052D
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D968F2

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

Preview Lab → · Contrast checker → · Palette generator →

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