#D168E6#D168E6

#D168E6 is a light, highly saturated purple. Relative luminance 0.292; OKLCH L 68.8% C 0.203 H 320.7°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#D168E6
RGBrgb(209, 104, 230)
HSLhsl(290, 72%, 65%)
HSVhsv(290, 55%, 90%)
CMYKcmyk(9.1%, 54.8%, 0%, 9.8%)
CIE-LABlab(60.93, 59.61, -46.37)
CIE-LCHlch(60.93, 75.52, 322.12°)
OKLaboklab(68.83% 0.1574 -0.1288)
OKLCHoklch(68.83% 0.203 320.7)
XYZxyz(45.5261, 29.1711, 78.0801)
Luminance0.2917 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D168E6 #7DE668
analogous
#9268E6 #D168E6 #E668BC
triadic
#D168E6 #E6D168 #68E6D1
tetradic
#D168E6 #E69268 #7DE668 #68BCE6
square
#D168E6 #E69268 #7DE668 #68BCE6
split-complementary
#D168E6 #BCE668 #68E692
monochromatic
#9C1EB6 #C133DD #D168E6 #E19DEF #F1D1F7

Accessibility & contrast

On white

3.07
#D168E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#D168E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D168E6
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D168E6#FFFFFF#000000##000000
##D168E61.003.076.836.83
#FFFFFF3.071.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#508CEA
Deuteranopia (green-blind)
#7397E3
Tritanopia (blue-blind)
#D37A9D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d168e6;
/* rgb */ color: rgb(209, 104, 230);
/* oklch */ color: oklch(68.8% 0.203 320.7);
Tailwind
colors: {
  custom: {
    50: '#e298ee',
    500: '#d168e6',
    950: '#000000',
  },
}
SCSS
$custom: #d168e6;
$custom-light: #e298ee;
$custom-dark: #000000;
JSON
{
  "hex": "#d168e6",
  "rgb": {
    "r": 209,
    "g": 104,
    "b": 230
  },
  "hsl": {
    "h": 290,
    "s": 71.591,
    "l": 65.49
  },
  "oklch": {
    "l": 0.68831,
    "c": 0.20335,
    "h": 320.7
  },
  "luminance": 0.29169
}

Semantic roles & 50–950 ramp

primary
#D168E6
secondary
#C7EAC0
accent
#D41232
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D168E6

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

Preview Lab → · Contrast checker → · Palette generator →

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