#D168FC#D168FC

#D168FC is a light, highly saturated purple. Relative luminance 0.305; OKLCH L 70.0% C 0.225 H 314.9°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#D168FC
RGBrgb(209, 104, 252)
HSLhsl(283, 96%, 70%)
HSVhsv(283, 59%, 99%)
CMYKcmyk(17.1%, 58.7%, 0%, 1.2%)
CIE-LABlab(62.07, 63.89, -56.77)
CIE-LCHlch(62.07, 85.47, 318.38°)
OKLaboklab(70.03% 0.1585 -0.159)
OKLCHoklch(70.03% 0.225 314.9)
XYZxyz(48.8127, 30.4858, 95.3896)
Luminance0.3048 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D168FC #93FC68
analogous
#8768FC #D168FC #FC68DD
triadic
#D168FC #FCD168 #68FCD1
tetradic
#D168FC #FC8768 #93FC68 #68DDFC
square
#D168FC #FC8768 #93FC68 #68DDFC
split-complementary
#D168FC #DDFC68 #68FC87
monochromatic
#A405E5 #BF2CFB #D168FC #E3A4FD #F6E0FE

Accessibility & contrast

On white

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

On black

7.10
#D168FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D168FC
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D168FC#FFFFFF#000000##000000
##D168FC1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B90FF
Deuteranopia (green-blind)
#6599F8
Tritanopia (blue-blind)
#CE82A9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d168fc;
/* rgb */ color: rgb(209, 104, 252);
/* oklch */ color: oklch(70.0% 0.225 314.9);
Tailwind
colors: {
  custom: {
    50: '#e298fe',
    500: '#d168fc',
    950: '#000000',
  },
}
SCSS
$custom: #d168fc;
$custom-light: #e298fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d168fc",
  "rgb": {
    "r": 209,
    "g": 104,
    "b": 252
  },
  "hsl": {
    "h": 282.568,
    "s": 96.104,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70032,
    "c": 0.22453,
    "h": 314.9
  },
  "luminance": 0.30484
}

Semantic roles & 50–950 ramp

primary
#D168FC
secondary
#D7F5CB
accent
#E60043
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D168FC

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

Preview Lab → · Contrast checker → · Palette generator →

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