#D168CD#D168CD

#D168CD is a light, vivid purple. Relative luminance 0.279; OKLCH L 67.6% C 0.180 H 328.8°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#D168CD
RGBrgb(209, 104, 205)
HSLhsl(302, 53%, 61%)
HSVhsv(302, 50%, 82%)
CMYKcmyk(0%, 50.2%, 1.9%, 18%)
CIE-LABlab(59.77, 55.05, -34.15)
CIE-LCHlch(59.77, 64.78, 328.19°)
OKLaboklab(67.59% 0.1543 -0.0935)
OKLCHoklch(67.59% 0.18 328.8)
XYZxyz(42.2637, 27.8662, 60.8984)
Luminance0.2786 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D168CD #68D16C
analogous
#A168D1 #D168CD #D16899
triadic
#D168CD #CDD168 #68CDD1
tetradic
#D168CD #D1A168 #68D16C #6899D1
square
#D168CD #D1A168 #68D16C #6899D1
split-complementary
#D168CD #99D168 #68D1A1
monochromatic
#922D8E #C13BBC #D168CD #DF97DD #EEC6EC

Accessibility & contrast

On white

3.19
#D168CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#D168CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D168CD
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D168CD#FFFFFF#000000##000000
##D168CD1.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6087D0
Deuteranopia (green-blind)
#8095CA
Tritanopia (blue-blind)
#D77291
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d168cd;
/* rgb */ color: rgb(209, 104, 205);
/* oklch */ color: oklch(67.6% 0.180 328.8);
Tailwind
colors: {
  custom: {
    50: '#e197dc',
    500: '#d168cd',
    950: '#000000',
  },
}
SCSS
$custom: #d168cd;
$custom-light: #e197dc;
$custom-dark: #000000;
JSON
{
  "hex": "#d168cd",
  "rgb": {
    "r": 209,
    "g": 104,
    "b": 205
  },
  "hsl": {
    "h": 302.286,
    "s": 53.299,
    "l": 61.373
  },
  "oklch": {
    "l": 0.67594,
    "c": 0.18046,
    "h": 328.8
  },
  "luminance": 0.27864
}

Semantic roles & 50–950 ramp

primary
#D168CD
secondary
#B7DEB8
accent
#C12B25
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D168CD

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

Preview Lab → · Contrast checker → · Palette generator →

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