#D168DB#D168DB

#D168DB is a light, vivid purple. Relative luminance 0.286; OKLCH L 68.3% C 0.193 H 324.0°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#D168DB
RGBrgb(209, 104, 219)
HSLhsl(295, 61%, 63%)
HSVhsv(295, 53%, 86%)
CMYKcmyk(4.6%, 52.5%, 0%, 14.1%)
CIE-LABlab(60.40, 57.56, -41.05)
CIE-LCHlch(60.40, 70.69, 324.50°)
OKLaboklab(68.27% 0.1563 -0.1134)
OKLCHoklch(68.27% 0.193 324)
XYZxyz(44.0298, 28.5726, 70.2000)
Luminance0.2857 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D168DB #72DB68
analogous
#9768DB #D168DB #DB68AB
triadic
#D168DB #DBD168 #68DBD1
tetradic
#D168DB #DB9768 #72DB68 #68ABDB
square
#D168DB #DB9768 #72DB68 #68ABDB
split-complementary
#D168DB #ABDB68 #68DB97
monochromatic
#9727A2 #C237CF #D168DB #E099E7 #EFCBF3

Accessibility & contrast

On white

3.13
#D168DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#D168DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D168DB
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D168DB#FFFFFF#000000##000000
##D168DB1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5889DF
Deuteranopia (green-blind)
#7996D8
Tritanopia (blue-blind)
#D57798
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d168db;
/* rgb */ color: rgb(209, 104, 219);
/* oklch */ color: oklch(68.3% 0.193 324.0);
Tailwind
colors: {
  custom: {
    50: '#e197e6',
    500: '#d168db',
    950: '#000000',
  },
}
SCSS
$custom: #d168db;
$custom-light: #e197e6;
$custom-dark: #000000;
JSON
{
  "hex": "#d168db",
  "rgb": {
    "r": 209,
    "g": 104,
    "b": 219
  },
  "hsl": {
    "h": 294.783,
    "s": 61.497,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6827,
    "c": 0.19306,
    "h": 324
  },
  "luminance": 0.2857
}

Semantic roles & 50–950 ramp

primary
#D168DB
secondary
#BEE4BB
accent
#C91C2B
background
#FEF9FE
surface
#FCF2FC
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D168DB

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

Preview Lab → · Contrast checker → · Palette generator →

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