#D168DE#D168DE

#D168DE is a light, vivid purple. Relative luminance 0.287; OKLCH L 68.4% C 0.196 H 323.1°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#D168DE
RGBrgb(209, 104, 222)
HSLhsl(293, 64%, 64%)
HSVhsv(293, 53%, 87%)
CMYKcmyk(5.9%, 53.2%, 0%, 12.9%)
CIE-LABlab(60.54, 58.11, -42.51)
CIE-LCHlch(60.54, 72.00, 323.81°)
OKLaboklab(68.42% 0.1566 -0.1176)
OKLCHoklch(68.42% 0.196 323.1)
XYZxyz(44.4283, 28.7320, 72.2987)
Luminance0.2873 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D168DE #75DE68
analogous
#9668DE #D168DE #DE68B0
triadic
#D168DE #DED168 #68DED1
tetradic
#D168DE #DE9668 #75DE68 #68B0DE
square
#D168DE #DE9668 #75DE68 #68B0DE
split-complementary
#D168DE #B0DE68 #68DE96
monochromatic
#9925A7 #C236D3 #D168DE #E09AE9 #F0CCF4

Accessibility & contrast

On white

3.11
#D168DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#D168DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D168DE
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D168DE#FFFFFF#000000##000000
##D168DE1.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#568AE2
Deuteranopia (green-blind)
#7896DB
Tritanopia (blue-blind)
#D47899
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d168de;
/* rgb */ color: rgb(209, 104, 222);
/* oklch */ color: oklch(68.4% 0.196 323.1);
Tailwind
colors: {
  custom: {
    50: '#e297e9',
    500: '#d168de',
    950: '#000000',
  },
}
SCSS
$custom: #d168de;
$custom-light: #e297e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d168de",
  "rgb": {
    "r": 209,
    "g": 104,
    "b": 222
  },
  "hsl": {
    "h": 293.39,
    "s": 64.13,
    "l": 63.922
  },
  "oklch": {
    "l": 0.6842,
    "c": 0.19584,
    "h": 323.1
  },
  "luminance": 0.2873
}

Semantic roles & 50–950 ramp

primary
#D168DE
secondary
#C1E6BC
accent
#CC1A2D
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D168DE

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

Preview Lab → · Contrast checker → · Palette generator →

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