#D168ED#D168ED

#D168ED is a light, highly saturated purple. Relative luminance 0.296; OKLCH L 69.2% C 0.210 H 318.8°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#D168ED
RGBrgb(209, 104, 237)
HSLhsl(287, 79%, 67%)
HSVhsv(287, 56%, 93%)
CMYKcmyk(11.8%, 56.1%, 0%, 7.1%)
CIE-LABlab(61.28, 60.94, -49.72)
CIE-LCHlch(61.28, 78.65, 320.79°)
OKLaboklab(69.2% 0.1579 -0.1385)
OKLCHoklch(69.2% 0.21 318.8)
XYZxyz(46.5288, 29.5722, 83.3614)
Luminance0.2957 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D168ED #84ED68
analogous
#8F68ED #D168ED #ED68C7
triadic
#D168ED #EDD168 #68EDD1
tetradic
#D168ED #ED8F68 #84ED68 #68C7ED
square
#D168ED #ED8F68 #84ED68 #68C7ED
split-complementary
#D168ED #C7ED68 #68ED8F
monochromatic
#9F17C3 #C031E6 #D168ED #E29FF4 #F2D5FA

Accessibility & contrast

On white

3.04
#D168ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#D168ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D168ED
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D168ED#FFFFFF#000000##000000
##D168ED1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8DF1
Deuteranopia (green-blind)
#6F98EA
Tritanopia (blue-blind)
#D17DA1
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d168ed;
/* rgb */ color: rgb(209, 104, 237);
/* oklch */ color: oklch(69.2% 0.210 318.8);
Tailwind
colors: {
  custom: {
    50: '#e298f3',
    500: '#d168ed',
    950: '#000000',
  },
}
SCSS
$custom: #d168ed;
$custom-light: #e298f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d168ed",
  "rgb": {
    "r": 209,
    "g": 104,
    "b": 237
  },
  "hsl": {
    "h": 287.368,
    "s": 78.698,
    "l": 66.863
  },
  "oklch": {
    "l": 0.69202,
    "c": 0.21002,
    "h": 318.8
  },
  "luminance": 0.2957
}

Semantic roles & 50–950 ramp

primary
#D168ED
secondary
#CCEEC3
accent
#DB0B36
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #D168ED

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

Preview Lab → · Contrast checker → · Palette generator →

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