#D168CA#D168CA

#D168CA is a light, vivid purple. Relative luminance 0.277; OKLCH L 67.5% C 0.178 H 329.9°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#D168CA
RGBrgb(209, 104, 202)
HSLhsl(304, 53%, 61%)
HSVhsv(304, 50%, 82%)
CMYKcmyk(0%, 50.2%, 3.3%, 18%)
CIE-LABlab(59.64, 54.53, -32.65)
CIE-LCHlch(59.64, 63.56, 329.09°)
OKLaboklab(67.46% 0.1538 -0.0892)
OKLCHoklch(67.46% 0.178 329.9)
XYZxyz(41.9051, 27.7227, 59.0095)
Luminance0.2772 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D168CA #68D16F
analogous
#A468D1 #D168CA #D16896
triadic
#D168CA #CAD168 #68CAD1
tetradic
#D168CA #D1A468 #68D16F #6896D1
square
#D168CA #D1A468 #68D16F #6896D1
split-complementary
#D168CA #96D168 #68D1A4
monochromatic
#922D8B #C13BB8 #D168CA #DF97DA #EEC6EB

Accessibility & contrast

On white

3.21
#D168CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#D168CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D168CA
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D168CA#FFFFFF#000000##000000
##D168CA1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6287CD
Deuteranopia (green-blind)
#8195C7
Tritanopia (blue-blind)
#D87190
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #d168ca;
/* rgb */ color: rgb(209, 104, 202);
/* oklch */ color: oklch(67.5% 0.178 329.9);
Tailwind
colors: {
  custom: {
    50: '#e197da',
    500: '#d168ca',
    950: '#000000',
  },
}
SCSS
$custom: #d168ca;
$custom-light: #e197da;
$custom-dark: #000000;
JSON
{
  "hex": "#d168ca",
  "rgb": {
    "r": 209,
    "g": 104,
    "b": 202
  },
  "hsl": {
    "h": 304,
    "s": 53.299,
    "l": 61.373
  },
  "oklch": {
    "l": 0.67455,
    "c": 0.17785,
    "h": 329.9
  },
  "luminance": 0.2772
}

Semantic roles & 50–950 ramp

primary
#D168CA
secondary
#B7DEB9
accent
#C12F25
background
#FEF9FD
surface
#FCF2FA
border
#D5CCD3
text
#160E15
muted
#847E83

Preview Lab

Preview with #D168CA

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

Preview Lab → · Contrast checker → · Palette generator →

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