#D168F9#D168F9

#D168F9 is a light, highly saturated purple. Relative luminance 0.303; OKLCH L 69.9% C 0.222 H 315.6°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#D168F9
RGBrgb(209, 104, 249)
HSLhsl(283, 92%, 69%)
HSVhsv(283, 58%, 98%)
CMYKcmyk(16.1%, 58.2%, 0%, 2.4%)
CIE-LABlab(61.91, 63.30, -55.37)
CIE-LCHlch(61.91, 84.09, 318.82°)
OKLaboklab(69.86% 0.1585 -0.1549)
OKLCHoklch(69.86% 0.222 315.6)
XYZxyz(48.3410, 30.2971, 92.9056)
Luminance0.3029 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D168F9 #90F968
analogous
#8968F9 #D168F9 #F968D9
triadic
#D168F9 #F9D168 #68F9D1
tetradic
#D168F9 #F98968 #90F968 #68D9F9
square
#D168F9 #F98968 #90F968 #68D9F9
split-complementary
#D168F9 #D9F968 #68F989
monochromatic
#A309DE #BF2DF7 #D168F9 #E3A3FB #F5DEFE

Accessibility & contrast

On white

2.97
#D168F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#D168F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D168F9
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D168F9#FFFFFF#000000##000000
##D168F91.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8FFE
Deuteranopia (green-blind)
#6899F5
Tritanopia (blue-blind)
#CE81A7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d168f9;
/* rgb */ color: rgb(209, 104, 249);
/* oklch */ color: oklch(69.9% 0.222 315.6);
Tailwind
colors: {
  custom: {
    50: '#e298fc',
    500: '#d168f9',
    950: '#000000',
  },
}
SCSS
$custom: #d168f9;
$custom-light: #e298fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d168f9",
  "rgb": {
    "r": 209,
    "g": 104,
    "b": 249
  },
  "hsl": {
    "h": 283.448,
    "s": 92.357,
    "l": 69.216
  },
  "oklch": {
    "l": 0.69863,
    "c": 0.22161,
    "h": 315.6
  },
  "luminance": 0.30295
}

Semantic roles & 50–950 ramp

primary
#D168F9
secondary
#D5F3C9
accent
#E6003F
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D168F9

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

Preview Lab → · Contrast checker → · Palette generator →

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