#D168CB#D168CB

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

Color values

HEX#D168CB
RGBrgb(209, 104, 203)
HSLhsl(303, 53%, 61%)
HSVhsv(303, 50%, 82%)
CMYKcmyk(0%, 50.2%, 2.9%, 18%)
CIE-LABlab(59.68, 54.70, -33.15)
CIE-LCHlch(59.68, 63.96, 328.78°)
OKLaboklab(67.5% 0.154 -0.0907)
OKLCHoklch(67.5% 0.179 329.5)
XYZxyz(42.0238, 27.7702, 59.6350)
Luminance0.2777 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D168CB #68D16E
analogous
#A368D1 #D168CB #D16897
triadic
#D168CB #CBD168 #68CBD1
tetradic
#D168CB #D1A368 #68D16E #6897D1
square
#D168CB #D1A368 #68D16E #6897D1
split-complementary
#D168CB #97D168 #68D1A3
monochromatic
#922D8C #C13BB9 #D168CB #DF97DB #EEC6EB

Accessibility & contrast

On white

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

On black

6.55
#D168CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D168CB
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D168CB#FFFFFF#000000##000000
##D168CB1.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6187CE
Deuteranopia (green-blind)
#8095C8
Tritanopia (blue-blind)
#D87290
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d168cb;
/* rgb */ color: rgb(209, 104, 203);
/* oklch */ color: oklch(67.5% 0.179 329.5);
Tailwind
colors: {
  custom: {
    50: '#e197db',
    500: '#d168cb',
    950: '#000000',
  },
}
SCSS
$custom: #d168cb;
$custom-light: #e197db;
$custom-dark: #000000;
JSON
{
  "hex": "#d168cb",
  "rgb": {
    "r": 209,
    "g": 104,
    "b": 203
  },
  "hsl": {
    "h": 303.429,
    "s": 53.299,
    "l": 61.373
  },
  "oklch": {
    "l": 0.67501,
    "c": 0.17871,
    "h": 329.5
  },
  "luminance": 0.27768
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D168CB

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

Preview Lab → · Contrast checker → · Palette generator →

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