#D168F3#D168F3

#D168F3 is a light, highly saturated purple. Relative luminance 0.299; OKLCH L 69.5% C 0.216 H 317.2°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#D168F3
RGBrgb(209, 104, 243)
HSLhsl(285, 85%, 68%)
HSVhsv(285, 57%, 95%)
CMYKcmyk(14%, 57.2%, 0%, 4.7%)
CIE-LABlab(61.59, 62.11, -52.56)
CIE-LCHlch(61.59, 81.36, 319.76°)
OKLaboklab(69.53% 0.1582 -0.1467)
OKLCHoklch(69.53% 0.216 317.2)
XYZxyz(47.4201, 29.9287, 88.0556)
Luminance0.2993 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D168F3 #8AF368
analogous
#8B68F3 #D168F3 #F368CF
triadic
#D168F3 #F3D168 #68F3D1
tetradic
#D168F3 #F38B68 #8AF368 #68CFF3
square
#D168F3 #F38B68 #8AF368 #68CFF3
split-complementary
#D168F3 #CFF368 #68F38B
monochromatic
#A111D0 #C02FEE #D168F3 #E2A1F8 #F4D9FC

Accessibility & contrast

On white

3.01
#D168F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#D168F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D168F3
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D168F3#FFFFFF#000000##000000
##D168F31.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#458EF7
Deuteranopia (green-blind)
#6C98EF
Tritanopia (blue-blind)
#D07FA4
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d168f3;
/* rgb */ color: rgb(209, 104, 243);
/* oklch */ color: oklch(69.5% 0.216 317.2);
Tailwind
colors: {
  custom: {
    50: '#e298f7',
    500: '#d168f3',
    950: '#000000',
  },
}
SCSS
$custom: #d168f3;
$custom-light: #e298f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d168f3",
  "rgb": {
    "r": 209,
    "g": 104,
    "b": 243
  },
  "hsl": {
    "h": 285.324,
    "s": 85.276,
    "l": 68.039
  },
  "oklch": {
    "l": 0.69529,
    "c": 0.21579,
    "h": 317.2
  },
  "luminance": 0.29927
}

Semantic roles & 50–950 ramp

primary
#D168F3
secondary
#D1F1C6
accent
#E2043A
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D168F3

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

Preview Lab → · Contrast checker → · Palette generator →

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