#D168DF#D168DF

#D168DF is a light, vivid purple. Relative luminance 0.288; OKLCH L 68.5% C 0.197 H 322.8°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#D168DF
RGBrgb(209, 104, 223)
HSLhsl(293, 65%, 64%)
HSVhsv(293, 53%, 87%)
CMYKcmyk(6.3%, 53.4%, 0%, 12.5%)
CIE-LABlab(60.59, 58.29, -43.00)
CIE-LCHlch(60.59, 72.43, 323.59°)
OKLaboklab(68.47% 0.1567 -0.119)
OKLCHoklch(68.47% 0.197 322.8)
XYZxyz(44.5627, 28.7858, 73.0066)
Luminance0.2878 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D168DF #76DF68
analogous
#9668DF #D168DF #DF68B2
triadic
#D168DF #DFD168 #68DFD1
tetradic
#D168DF #DF9668 #76DF68 #68B2DF
square
#D168DF #DF9668 #76DF68 #68B2DF
split-complementary
#D168DF #B2DF68 #68DF96
monochromatic
#9924A9 #C236D4 #D168DF #E09BEA #F0CDF4

Accessibility & contrast

On white

3.11
#D168DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#D168DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D168DF
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D168DF#FFFFFF#000000##000000
##D168DF1.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#558AE3
Deuteranopia (green-blind)
#7796DC
Tritanopia (blue-blind)
#D4789A
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d168df;
/* rgb */ color: rgb(209, 104, 223);
/* oklch */ color: oklch(68.5% 0.197 322.8);
Tailwind
colors: {
  custom: {
    50: '#e297e9',
    500: '#d168df',
    950: '#000000',
  },
}
SCSS
$custom: #d168df;
$custom-light: #e297e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d168df",
  "rgb": {
    "r": 209,
    "g": 104,
    "b": 223
  },
  "hsl": {
    "h": 292.941,
    "s": 65.027,
    "l": 64.118
  },
  "oklch": {
    "l": 0.68471,
    "c": 0.19678,
    "h": 322.8
  },
  "luminance": 0.28784
}

Semantic roles & 50–950 ramp

primary
#D168DF
secondary
#C2E6BD
accent
#CD192E
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D168DF

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

Preview Lab → · Contrast checker → · Palette generator →

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