#D16AFB#D16AFB

#D16AFB is a light, highly saturated purple. Relative luminance 0.308; OKLCH L 70.2% C 0.221 H 315.0°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#D16AFB
RGBrgb(209, 106, 251)
HSLhsl(283, 95%, 70%)
HSVhsv(283, 58%, 98%)
CMYKcmyk(16.7%, 57.8%, 0%, 1.6%)
CIE-LABlab(62.36, 62.76, -55.75)
CIE-LCHlch(62.36, 83.94, 318.38°)
OKLaboklab(70.23% 0.1561 -0.1561)
OKLCHoklch(70.23% 0.221 315)
XYZxyz(48.8583, 30.8300, 94.6251)
Luminance0.3083 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D16AFB #94FB6A
analogous
#896AFB #D16AFB #FB6ADC
triadic
#D16AFB #FBD16A #6AFBD1
tetradic
#D16AFB #FB896A #94FB6A #6ADCFB
square
#D16AFB #FB896A #94FB6A #6ADCFB
split-complementary
#D16AFB #DCFB6A #6AFB89
monochromatic
#A406E4 #BF2EF9 #D16AFB #E3A6FD #F6E1FE

Accessibility & contrast

On white

2.93
#D16AFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#D16AFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D16AFB
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D16AFB#FFFFFF#000000##000000
##D16AFB1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4091FF
Deuteranopia (green-blind)
#689AF7
Tritanopia (blue-blind)
#CE83A9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d16afb;
/* rgb */ color: rgb(209, 106, 251);
/* oklch */ color: oklch(70.2% 0.221 315.0);
Tailwind
colors: {
  custom: {
    50: '#e299fd',
    500: '#d16afb',
    950: '#000000',
  },
}
SCSS
$custom: #d16afb;
$custom-light: #e299fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d16afb",
  "rgb": {
    "r": 209,
    "g": 106,
    "b": 251
  },
  "hsl": {
    "h": 282.621,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.70228,
    "c": 0.22072,
    "h": 315
  },
  "luminance": 0.30828
}

Semantic roles & 50–950 ramp

primary
#D16AFB
secondary
#D8F5CC
accent
#E60042
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D16AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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