#D168FB#D168FB

#D168FB is a light, highly saturated purple. Relative luminance 0.304; OKLCH L 70.0% C 0.224 H 315.2°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#D168FB
RGBrgb(209, 104, 251)
HSLhsl(283, 95%, 70%)
HSVhsv(283, 59%, 98%)
CMYKcmyk(16.7%, 58.6%, 0%, 1.6%)
CIE-LABlab(62.02, 63.69, -56.30)
CIE-LCHlch(62.02, 85.01, 318.53°)
OKLaboklab(69.98% 0.1585 -0.1577)
OKLCHoklch(69.98% 0.224 315.2)
XYZxyz(48.6546, 30.4225, 94.5572)
Luminance0.3042 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D168FB #92FB68
analogous
#8868FB #D168FB #FB68DC
triadic
#D168FB #FBD168 #68FBD1
tetradic
#D168FB #FB8868 #92FB68 #68DCFB
square
#D168FB #FB8868 #92FB68 #68DCFB
split-complementary
#D168FB #DCFB68 #68FB88
monochromatic
#A406E3 #BF2CF9 #D168FB #E3A4FD #F5DFFE

Accessibility & contrast

On white

2.96
#D168FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#D168FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D168FB
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D168FB#FFFFFF#000000##000000
##D168FB1.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C90FF
Deuteranopia (green-blind)
#6699F7
Tritanopia (blue-blind)
#CE81A8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d168fb;
/* rgb */ color: rgb(209, 104, 251);
/* oklch */ color: oklch(70.0% 0.224 315.2);
Tailwind
colors: {
  custom: {
    50: '#e298fd',
    500: '#d168fb',
    950: '#000000',
  },
}
SCSS
$custom: #d168fb;
$custom-light: #e298fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d168fb",
  "rgb": {
    "r": 209,
    "g": 104,
    "b": 251
  },
  "hsl": {
    "h": 282.857,
    "s": 94.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.69976,
    "c": 0.22356,
    "h": 315.2
  },
  "luminance": 0.30421
}

Semantic roles & 50–950 ramp

primary
#D168FB
secondary
#D6F4CA
accent
#E60042
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D168FB

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

Preview Lab → · Contrast checker → · Palette generator →

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