#D168FA#D168FA

#D168FA is a light, highly saturated purple. Relative luminance 0.304; OKLCH L 69.9% C 0.223 H 315.4°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#D168FA
RGBrgb(209, 104, 250)
HSLhsl(283, 94%, 69%)
HSVhsv(283, 58%, 98%)
CMYKcmyk(16.4%, 58.4%, 0%, 2%)
CIE-LABlab(61.96, 63.49, -55.84)
CIE-LCHlch(61.96, 84.55, 318.67°)
OKLaboklab(69.92% 0.1585 -0.1563)
OKLCHoklch(69.92% 0.223 315.4)
XYZxyz(48.4974, 30.3597, 93.7293)
Luminance0.3036 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D168FA #91FA68
analogous
#8868FA #D168FA #FA68DA
triadic
#D168FA #FAD168 #68FAD1
tetradic
#D168FA #FA8868 #91FA68 #68DAFA
square
#D168FA #FA8868 #91FA68 #68DAFA
split-complementary
#D168FA #DAFA68 #68FA88
monochromatic
#A307E0 #BF2DF8 #D168FA #E3A3FC #F5DEFE

Accessibility & contrast

On white

2.97
#D168FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#D168FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D168FA
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D168FA#FFFFFF#000000##000000
##D168FA1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8FFF
Deuteranopia (green-blind)
#6799F6
Tritanopia (blue-blind)
#CE81A8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d168fa;
/* rgb */ color: rgb(209, 104, 250);
/* oklch */ color: oklch(69.9% 0.223 315.4);
Tailwind
colors: {
  custom: {
    50: '#e298fc',
    500: '#d168fa',
    950: '#000000',
  },
}
SCSS
$custom: #d168fa;
$custom-light: #e298fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d168fa",
  "rgb": {
    "r": 209,
    "g": 104,
    "b": 250
  },
  "hsl": {
    "h": 283.151,
    "s": 93.59,
    "l": 69.412
  },
  "oklch": {
    "l": 0.69919,
    "c": 0.22258,
    "h": 315.4
  },
  "luminance": 0.30358
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D168FA

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

Preview Lab → · Contrast checker → · Palette generator →

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