#D168E8#D168E8

#D168E8 is a light, highly saturated purple. Relative luminance 0.293; OKLCH L 68.9% C 0.205 H 320.1°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#D168E8
RGBrgb(209, 104, 232)
HSLhsl(289, 74%, 66%)
HSVhsv(289, 55%, 91%)
CMYKcmyk(9.9%, 55.2%, 0%, 9%)
CIE-LABlab(61.03, 59.99, -47.33)
CIE-LCHlch(61.03, 76.41, 321.72°)
OKLaboklab(68.94% 0.1576 -0.1315)
OKLCHoklch(68.94% 0.205 320.1)
XYZxyz(45.8085, 29.2841, 79.5677)
Luminance0.2928 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D168E8 #7FE868
analogous
#9168E8 #D168E8 #E868BF
triadic
#D168E8 #E8D168 #68E8D1
tetradic
#D168E8 #E89168 #7FE868 #68BFE8
square
#D168E8 #E89168 #7FE868 #68BFE8
split-complementary
#D168E8 #BFE868 #68E891
monochromatic
#9D1CB9 #C133E0 #D168E8 #E19DF0 #F1D2F8

Accessibility & contrast

On white

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

On black

6.86
#D168E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D168E8
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D168E8#FFFFFF#000000##000000
##D168E81.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8CEC
Deuteranopia (green-blind)
#7297E5
Tritanopia (blue-blind)
#D27B9E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d168e8;
/* rgb */ color: rgb(209, 104, 232);
/* oklch */ color: oklch(68.9% 0.205 320.1);
Tailwind
colors: {
  custom: {
    50: '#e298f0',
    500: '#d168e8',
    950: '#000000',
  },
}
SCSS
$custom: #d168e8;
$custom-light: #e298f0;
$custom-dark: #000000;
JSON
{
  "hex": "#d168e8",
  "rgb": {
    "r": 209,
    "g": 104,
    "b": 232
  },
  "hsl": {
    "h": 289.219,
    "s": 73.563,
    "l": 65.882
  },
  "oklch": {
    "l": 0.68936,
    "c": 0.20524,
    "h": 320.1
  },
  "luminance": 0.29282
}

Semantic roles & 50–950 ramp

primary
#D168E8
secondary
#C8EBC1
accent
#D61033
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D168E8

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

Preview Lab → · Contrast checker → · Palette generator →

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