#D168E9#D168E9

#D168E9 is a light, highly saturated purple. Relative luminance 0.293; OKLCH L 69.0% C 0.206 H 319.9°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#D168E9
RGBrgb(209, 104, 233)
HSLhsl(289, 75%, 66%)
HSVhsv(289, 55%, 91%)
CMYKcmyk(10.3%, 55.4%, 0%, 8.6%)
CIE-LABlab(61.08, 60.18, -47.81)
CIE-LCHlch(61.08, 76.86, 321.53°)
OKLaboklab(68.99% 0.1576 -0.1329)
OKLCHoklch(68.99% 0.206 319.9)
XYZxyz(45.9510, 29.3411, 80.3179)
Luminance0.2934 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D168E9 #80E968
analogous
#9068E9 #D168E9 #E968C0
triadic
#D168E9 #E9D168 #68E9D1
tetradic
#D168E9 #E99068 #80E968 #68C0E9
square
#D168E9 #E99068 #80E968 #68C0E9
split-complementary
#D168E9 #C0E968 #68E990
monochromatic
#9E1BBB #C133E1 #D168E9 #E19DF1 #F2D3F9

Accessibility & contrast

On white

3.06
#D168E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#D168E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D168E9
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D168E9#FFFFFF#000000##000000
##D168E91.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8CED
Deuteranopia (green-blind)
#7297E6
Tritanopia (blue-blind)
#D27B9F
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d168e9;
/* rgb */ color: rgb(209, 104, 233);
/* oklch */ color: oklch(69.0% 0.206 319.9);
Tailwind
colors: {
  custom: {
    50: '#e298f0',
    500: '#d168e9',
    950: '#000000',
  },
}
SCSS
$custom: #d168e9;
$custom-light: #e298f0;
$custom-dark: #000000;
JSON
{
  "hex": "#d168e9",
  "rgb": {
    "r": 209,
    "g": 104,
    "b": 233
  },
  "hsl": {
    "h": 288.837,
    "s": 74.566,
    "l": 66.078
  },
  "oklch": {
    "l": 0.68989,
    "c": 0.2062,
    "h": 319.9
  },
  "luminance": 0.29339
}

Semantic roles & 50–950 ramp

primary
#D168E9
secondary
#C9ECC1
accent
#D70F34
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D168E9

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

Preview Lab → · Contrast checker → · Palette generator →

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