#D168DC#D168DC

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

Color values

HEX#D168DC
RGBrgb(209, 104, 220)
HSLhsl(294, 62%, 64%)
HSVhsv(294, 53%, 86%)
CMYKcmyk(5%, 52.7%, 0%, 13.7%)
CIE-LABlab(60.45, 57.74, -41.54)
CIE-LCHlch(60.45, 71.13, 324.27°)
OKLaboklab(68.32% 0.1564 -0.1148)
OKLCHoklch(68.32% 0.194 323.7)
XYZxyz(44.1619, 28.6254, 70.8954)
Luminance0.2862 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D168DC #73DC68
analogous
#9768DC #D168DC #DC68AD
triadic
#D168DC #DCD168 #68DCD1
tetradic
#D168DC #DC9768 #73DC68 #68ADDC
square
#D168DC #DC9768 #73DC68 #68ADDC
split-complementary
#D168DC #ADDC68 #68DC97
monochromatic
#9826A4 #C236D0 #D168DC #E09AE8 #EFCBF3

Accessibility & contrast

On white

3.12
#D168DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#D168DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D168DC
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D168DC#FFFFFF#000000##000000
##D168DC1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#578AE0
Deuteranopia (green-blind)
#7996D9
Tritanopia (blue-blind)
#D57798
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #d168dc;
/* rgb */ color: rgb(209, 104, 220);
/* oklch */ color: oklch(68.3% 0.194 323.7);
Tailwind
colors: {
  custom: {
    50: '#e197e7',
    500: '#d168dc',
    950: '#000000',
  },
}
SCSS
$custom: #d168dc;
$custom-light: #e197e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d168dc",
  "rgb": {
    "r": 209,
    "g": 104,
    "b": 220
  },
  "hsl": {
    "h": 294.31,
    "s": 62.366,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6832,
    "c": 0.19399,
    "h": 323.7
  },
  "luminance": 0.28623
}

Semantic roles & 50–950 ramp

primary
#D168DC
secondary
#BFE4BB
accent
#CA1B2C
background
#FEF9FE
surface
#FCF2FC
border
#D5CCD5
text
#160E16
muted
#847E84

Preview Lab

Preview with #D168DC

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

Preview Lab → · Contrast checker → · Palette generator →

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