#D168F0#D168F0

#D168F0 is a light, highly saturated purple. Relative luminance 0.297; OKLCH L 69.4% C 0.213 H 317.9°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#D168F0
RGBrgb(209, 104, 240)
HSLhsl(286, 82%, 67%)
HSVhsv(286, 57%, 94%)
CMYKcmyk(12.9%, 56.7%, 0%, 5.9%)
CIE-LABlab(61.44, 61.53, -51.14)
CIE-LCHlch(61.44, 80.00, 320.27°)
OKLaboklab(69.36% 0.1581 -0.1426)
OKLCHoklch(69.36% 0.213 317.9)
XYZxyz(46.9708, 29.7490, 85.6891)
Luminance0.2975 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D168F0 #87F068
analogous
#8D68F0 #D168F0 #F068CB
triadic
#D168F0 #F0D168 #68F0D1
tetradic
#D168F0 #F08D68 #87F068 #68CBF0
square
#D168F0 #F08D68 #87F068 #68CBF0
split-complementary
#D168F0 #CBF068 #68F08D
monochromatic
#A014CA #C030EA #D168F0 #E2A0F6 #F3D7FB

Accessibility & contrast

On white

3.02
#D168F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#D168F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D168F0
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D168F0#FFFFFF#000000##000000
##D168F01.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#488DF4
Deuteranopia (green-blind)
#6E98EC
Tritanopia (blue-blind)
#D07EA2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #d168f0;
/* rgb */ color: rgb(209, 104, 240);
/* oklch */ color: oklch(69.4% 0.213 317.9);
Tailwind
colors: {
  custom: {
    50: '#e298f5',
    500: '#d168f0',
    950: '#000000',
  },
}
SCSS
$custom: #d168f0;
$custom-light: #e298f5;
$custom-dark: #000000;
JSON
{
  "hex": "#d168f0",
  "rgb": {
    "r": 209,
    "g": 104,
    "b": 240
  },
  "hsl": {
    "h": 286.324,
    "s": 81.928,
    "l": 67.451
  },
  "oklch": {
    "l": 0.69365,
    "c": 0.2129,
    "h": 317.9
  },
  "luminance": 0.29747
}

Semantic roles & 50–950 ramp

primary
#D168F0
secondary
#CEEFC5
accent
#DE0738
background
#FEF9FF
surface
#FCF2FE
border
#D5CCD6
text
#160E17
muted
#847E85

Preview Lab

Preview with #D168F0

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

Preview Lab → · Contrast checker → · Palette generator →

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