#D168E7#D168E7

#D168E7 is a light, highly saturated purple. Relative luminance 0.292; OKLCH L 68.9% C 0.204 H 320.4°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#D168E7
RGBrgb(209, 104, 231)
HSLhsl(290, 73%, 66%)
HSVhsv(290, 55%, 91%)
CMYKcmyk(9.5%, 55%, 0%, 9.4%)
CIE-LABlab(60.98, 59.80, -46.85)
CIE-LCHlch(60.98, 75.97, 321.92°)
OKLaboklab(68.88% 0.1575 -0.1301)
OKLCHoklch(68.88% 0.204 320.4)
XYZxyz(45.6669, 29.2274, 78.8218)
Luminance0.2923 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D168E7 #7EE768
analogous
#9168E7 #D168E7 #E768BD
triadic
#D168E7 #E7D168 #68E7D1
tetradic
#D168E7 #E79168 #7EE768 #68BDE7
square
#D168E7 #E79168 #7EE768 #68BDE7
split-complementary
#D168E7 #BDE768 #68E791
monochromatic
#9D1DB7 #C133DF #D168E7 #E19DEF #F1D2F8

Accessibility & contrast

On white

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

On black

6.85
#D168E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D168E7
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D168E7#FFFFFF#000000##000000
##D168E71.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F8CEB
Deuteranopia (green-blind)
#7397E4
Tritanopia (blue-blind)
#D27B9E
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #d168e7;
/* rgb */ color: rgb(209, 104, 231);
/* oklch */ color: oklch(68.9% 0.204 320.4);
Tailwind
colors: {
  custom: {
    50: '#e298ef',
    500: '#d168e7',
    950: '#000000',
  },
}
SCSS
$custom: #d168e7;
$custom-light: #e298ef;
$custom-dark: #000000;
JSON
{
  "hex": "#d168e7",
  "rgb": {
    "r": 209,
    "g": 104,
    "b": 231
  },
  "hsl": {
    "h": 289.606,
    "s": 72.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.68884,
    "c": 0.20429,
    "h": 320.4
  },
  "luminance": 0.29225
}

Semantic roles & 50–950 ramp

primary
#D168E7
secondary
#C8EBC0
accent
#D51133
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D168E7

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

Preview Lab → · Contrast checker → · Palette generator →

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