#D168F8#D168F8

#D168F8 is a light, highly saturated purple. Relative luminance 0.302; OKLCH L 69.8% C 0.221 H 315.9°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#D168F8
RGBrgb(209, 104, 248)
HSLhsl(284, 91%, 69%)
HSVhsv(284, 58%, 97%)
CMYKcmyk(15.7%, 58.1%, 0%, 2.7%)
CIE-LABlab(61.86, 63.10, -54.90)
CIE-LCHlch(61.86, 83.64, 318.97°)
OKLaboklab(69.81% 0.1584 -0.1536)
OKLCHoklch(69.81% 0.221 315.9)
XYZxyz(48.1855, 30.2349, 92.0864)
Luminance0.3023 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D168F8 #8FF868
analogous
#8968F8 #D168F8 #F868D7
triadic
#D168F8 #F8D168 #68F8D1
tetradic
#D168F8 #F88968 #8FF868 #68D7F8
square
#D168F8 #F88968 #8FF868 #68D7F8
split-complementary
#D168F8 #D7F868 #68F889
monochromatic
#A30ADB #BF2EF5 #D168F8 #E3A2FB #F5DDFD

Accessibility & contrast

On white

2.98
#D168F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#D168F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D168F8
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D168F8#FFFFFF#000000##000000
##D168F81.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#408FFD
Deuteranopia (green-blind)
#6898F4
Tritanopia (blue-blind)
#CF80A7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d168f8;
/* rgb */ color: rgb(209, 104, 248);
/* oklch */ color: oklch(69.8% 0.221 315.9);
Tailwind
colors: {
  custom: {
    50: '#e298fb',
    500: '#d168f8',
    950: '#000000',
  },
}
SCSS
$custom: #d168f8;
$custom-light: #e298fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d168f8",
  "rgb": {
    "r": 209,
    "g": 104,
    "b": 248
  },
  "hsl": {
    "h": 283.75,
    "s": 91.139,
    "l": 69.02
  },
  "oklch": {
    "l": 0.69806,
    "c": 0.22064,
    "h": 315.9
  },
  "luminance": 0.30233
}

Semantic roles & 50–950 ramp

primary
#D168F8
secondary
#D4F3C9
accent
#E6003E
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D168F8

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

Preview Lab → · Contrast checker → · Palette generator →

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