#D168EF#D168EF

#D168EF is a light, highly saturated purple. Relative luminance 0.297; OKLCH L 69.3% C 0.212 H 318.2°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#D168EF
RGBrgb(209, 104, 239)
HSLhsl(287, 81%, 67%)
HSVhsv(287, 56%, 94%)
CMYKcmyk(12.6%, 56.5%, 0%, 6.3%)
CIE-LABlab(61.39, 61.33, -50.67)
CIE-LCHlch(61.39, 79.55, 320.44°)
OKLaboklab(69.31% 0.158 -0.1412)
OKLCHoklch(69.31% 0.212 318.2)
XYZxyz(46.8227, 29.6898, 84.9089)
Luminance0.2969 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D168EF #86EF68
analogous
#8E68EF #D168EF #EF68C9
triadic
#D168EF #EFD168 #68EFD1
tetradic
#D168EF #EF8E68 #86EF68 #68C9EF
square
#D168EF #EF8E68 #86EF68 #68C9EF
split-complementary
#D168EF #C9EF68 #68EF8E
monochromatic
#A015C7 #C031E9 #D168EF #E29FF5 #F3D7FB

Accessibility & contrast

On white

3.03
#D168EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#D168EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D168EF
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D168EF#FFFFFF#000000##000000
##D168EF1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#498DF3
Deuteranopia (green-blind)
#6E98EB
Tritanopia (blue-blind)
#D17DA2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d168ef;
/* rgb */ color: rgb(209, 104, 239);
/* oklch */ color: oklch(69.3% 0.212 318.2);
Tailwind
colors: {
  custom: {
    50: '#e298f5',
    500: '#d168ef',
    950: '#000000',
  },
}
SCSS
$custom: #d168ef;
$custom-light: #e298f5;
$custom-dark: #000000;
JSON
{
  "hex": "#d168ef",
  "rgb": {
    "r": 209,
    "g": 104,
    "b": 239
  },
  "hsl": {
    "h": 286.667,
    "s": 80.838,
    "l": 67.255
  },
  "oklch": {
    "l": 0.6931,
    "c": 0.21193,
    "h": 318.2
  },
  "luminance": 0.29688
}

Semantic roles & 50–950 ramp

primary
#D168EF
secondary
#CEEFC4
accent
#DD0838
background
#FEF9FF
surface
#FCF2FE
border
#D5CCD6
text
#160E17
muted
#847E85

Preview Lab

Preview with #D168EF

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

Preview Lab → · Contrast checker → · Palette generator →

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