#D168FF#D168FF

#D168FF is a light, highly saturated purple. Relative luminance 0.307; OKLCH L 70.2% C 0.227 H 314.2°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#D168FF
RGBrgb(209, 104, 255)
HSLhsl(282, 100%, 70%)
HSVhsv(282, 59%, 100%)
CMYKcmyk(18%, 59.2%, 0%, 0%)
CIE-LABlab(62.23, 64.50, -58.16)
CIE-LCHlch(62.23, 86.84, 317.96°)
OKLaboklab(70.2% 0.1586 -0.1631)
OKLCHoklch(70.2% 0.227 314.2)
XYZxyz(49.2918, 30.6774, 97.9131)
Luminance0.3068 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D168FF #96FF68
analogous
#8568FF #D168FF #FF68E1
triadic
#D168FF #FFD168 #68FFD1
tetradic
#D168FF #FF8568 #96FF68 #68E1FF
square
#D168FF #FF8568 #96FF68 #68E1FF
split-complementary
#D168FF #E1FF68 #68FF85
monochromatic
#A500ED #BE2BFF #D168FF #E4A5FF #F6E0FF

Accessibility & contrast

On white

2.94
#D168FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#D168FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D168FF
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D168FF#FFFFFF#000000##000000
##D168FF1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3791FF
Deuteranopia (green-blind)
#6399FB
Tritanopia (blue-blind)
#CD83AA
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d168ff;
/* rgb */ color: rgb(209, 104, 255);
/* oklch */ color: oklch(70.2% 0.227 314.2);
Tailwind
colors: {
  custom: {
    50: '#e298ff',
    500: '#d168ff',
    950: '#000000',
  },
}
SCSS
$custom: #d168ff;
$custom-light: #e298ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d168ff",
  "rgb": {
    "r": 209,
    "g": 104,
    "b": 255
  },
  "hsl": {
    "h": 281.722,
    "s": 100,
    "l": 70.392
  },
  "oklch": {
    "l": 0.70204,
    "c": 0.22746,
    "h": 314.2
  },
  "luminance": 0.30676
}

Semantic roles & 50–950 ramp

primary
#D168FF
secondary
#D9F6CD
accent
#E60046
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D168FF

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

Preview Lab → · Contrast checker → · Palette generator →

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