#D168C8#D168C8

#D168C8 is a light, vivid purple. Relative luminance 0.276; OKLCH L 67.4% C 0.176 H 330.6°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#D168C8
RGBrgb(209, 104, 200)
HSLhsl(305, 53%, 61%)
HSVhsv(305, 50%, 82%)
CMYKcmyk(0%, 50.2%, 4.3%, 18%)
CIE-LABlab(59.55, 54.18, -31.65)
CIE-LCHlch(59.55, 62.75, 329.71°)
OKLaboklab(67.36% 0.1535 -0.0864)
OKLCHoklch(67.36% 0.176 330.6)
XYZxyz(41.6698, 27.6286, 57.7704)
Luminance0.2763 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D168C8 #68D171
analogous
#A668D1 #D168C8 #D16894
triadic
#D168C8 #C8D168 #68C8D1
tetradic
#D168C8 #D1A668 #68D171 #6894D1
square
#D168C8 #D1A668 #68D171 #6894D1
split-complementary
#D168C8 #94D168 #68D1A6
monochromatic
#922D89 #C13BB6 #D168C8 #DF97D9 #EEC6EA

Accessibility & contrast

On white

3.22
#D168C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#D168C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D168C8
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D168C8#FFFFFF#000000##000000
##D168C81.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6386CB
Deuteranopia (green-blind)
#8295C5
Tritanopia (blue-blind)
#D8718F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #d168c8;
/* rgb */ color: rgb(209, 104, 200);
/* oklch */ color: oklch(67.4% 0.176 330.6);
Tailwind
colors: {
  custom: {
    50: '#e197d9',
    500: '#d168c8',
    950: '#000000',
  },
}
SCSS
$custom: #d168c8;
$custom-light: #e197d9;
$custom-dark: #000000;
JSON
{
  "hex": "#d168c8",
  "rgb": {
    "r": 209,
    "g": 104,
    "b": 200
  },
  "hsl": {
    "h": 305.143,
    "s": 53.299,
    "l": 61.373
  },
  "oklch": {
    "l": 0.67364,
    "c": 0.17612,
    "h": 330.6
  },
  "luminance": 0.27626
}

Semantic roles & 50–950 ramp

primary
#D168C8
secondary
#B7DEBA
accent
#C13225
background
#FEF9FD
surface
#FCF2FA
border
#D5CCD3
text
#160E14
muted
#847E83

Preview Lab

Preview with #D168C8

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

Preview Lab → · Contrast checker → · Palette generator →

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