#D168F7#D168F7

#D168F7 is a light, highly saturated purple. Relative luminance 0.302; OKLCH L 69.8% C 0.220 H 316.1°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#D168F7
RGBrgb(209, 104, 247)
HSLhsl(284, 90%, 69%)
HSVhsv(284, 58%, 97%)
CMYKcmyk(15.4%, 57.9%, 0%, 3.1%)
CIE-LABlab(61.80, 62.90, -54.43)
CIE-LCHlch(61.80, 83.18, 319.13°)
OKLaboklab(69.75% 0.1584 -0.1522)
OKLCHoklch(69.75% 0.22 316.1)
XYZxyz(48.0308, 30.1730, 91.2715)
Luminance0.3017 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D168F7 #8EF768
analogous
#8A68F7 #D168F7 #F768D6
triadic
#D168F7 #F7D168 #68F7D1
tetradic
#D168F7 #F78A68 #8EF768 #68D6F7
square
#D168F7 #F78A68 #8EF768 #68D6F7
split-complementary
#D168F7 #D6F768 #68F78A
monochromatic
#A20CD9 #BF2EF4 #D168F7 #E3A2FA #F4DCFD

Accessibility & contrast

On white

2.99
#D168F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#D168F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D168F7
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D168F7#FFFFFF#000000##000000
##D168F71.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#418FFC
Deuteranopia (green-blind)
#6998F3
Tritanopia (blue-blind)
#CF80A6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d168f7;
/* rgb */ color: rgb(209, 104, 247);
/* oklch */ color: oklch(69.8% 0.220 316.1);
Tailwind
colors: {
  custom: {
    50: '#e298fa',
    500: '#d168f7',
    950: '#000000',
  },
}
SCSS
$custom: #d168f7;
$custom-light: #e298fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d168f7",
  "rgb": {
    "r": 209,
    "g": 104,
    "b": 247
  },
  "hsl": {
    "h": 284.056,
    "s": 89.937,
    "l": 68.824
  },
  "oklch": {
    "l": 0.69751,
    "c": 0.21967,
    "h": 316.1
  },
  "luminance": 0.30171
}

Semantic roles & 50–950 ramp

primary
#D168F7
secondary
#D3F3C8
accent
#E6003D
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D168F7

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

Preview Lab → · Contrast checker → · Palette generator →

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