#D168CC#D168CC

#D168CC is a light, vivid purple. Relative luminance 0.278; OKLCH L 67.5% C 0.180 H 329.1°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#D168CC
RGBrgb(209, 104, 204)
HSLhsl(303, 53%, 61%)
HSVhsv(303, 50%, 82%)
CMYKcmyk(0%, 50.2%, 2.4%, 18%)
CIE-LABlab(59.72, 54.87, -33.65)
CIE-LCHlch(59.72, 64.37, 328.48°)
OKLaboklab(67.55% 0.1542 -0.0921)
OKLCHoklch(67.55% 0.18 329.1)
XYZxyz(42.1434, 27.8180, 60.2647)
Luminance0.2782 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D168CC #68D16D
analogous
#A268D1 #D168CC #D16898
triadic
#D168CC #CCD168 #68CCD1
tetradic
#D168CC #D1A268 #68D16D #6898D1
square
#D168CC #D1A268 #68D16D #6898D1
split-complementary
#D168CC #98D168 #68D1A2
monochromatic
#922D8D #C13BBB #D168CC #DF97DC #EEC6EC

Accessibility & contrast

On white

3.20
#D168CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#D168CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D168CC
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D168CC#FFFFFF#000000##000000
##D168CC1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6187CF
Deuteranopia (green-blind)
#8095C9
Tritanopia (blue-blind)
#D77291
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d168cc;
/* rgb */ color: rgb(209, 104, 204);
/* oklch */ color: oklch(67.5% 0.180 329.1);
Tailwind
colors: {
  custom: {
    50: '#e197dc',
    500: '#d168cc',
    950: '#000000',
  },
}
SCSS
$custom: #d168cc;
$custom-light: #e197dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d168cc",
  "rgb": {
    "r": 209,
    "g": 104,
    "b": 204
  },
  "hsl": {
    "h": 302.857,
    "s": 53.299,
    "l": 61.373
  },
  "oklch": {
    "l": 0.67548,
    "c": 0.17959,
    "h": 329.1
  },
  "luminance": 0.27816
}

Semantic roles & 50–950 ramp

primary
#D168CC
secondary
#B7DEB9
accent
#C12C25
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D168CC

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

Preview Lab → · Contrast checker → · Palette generator →

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