#B16AFE#B16AFE

#B16AFE is a light, highly saturated violet. Relative luminance 0.268; OKLCH L 66.9% C 0.214 H 303.2°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#B16AFE
RGBrgb(177, 106, 254)
HSLhsl(269, 99%, 71%)
HSVhsv(269, 58%, 100%)
CMYKcmyk(30.3%, 58.3%, 0%, 0.4%)
CIE-LABlab(58.80, 55.91, -63.31)
CIE-LCHlch(58.80, 84.46, 311.44°)
OKLaboklab(66.87% 0.1172 -0.1791)
OKLCHoklch(66.87% 0.214 303.2)
XYZxyz(41.1708, 26.8110, 96.7528)
Luminance0.2681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B16AFE #B7FE6A
analogous
#6A6DFE #B16AFE #FB6AFE
triadic
#B16AFE #FEB16A #6AFEB1
tetradic
#B16AFE #FE6A6D #B7FE6A #6AFEFB
square
#B16AFE #FE6A6D #B7FE6A #6AFEFB
split-complementary
#B16AFE #FEFB6A #6DFE6A
monochromatic
#7202EC #912DFE #B16AFE #D1A7FE #EFE1FF

Accessibility & contrast

On white

3.30
#B16AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#B16AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B16AFE
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B16AFE#FFFFFF#000000##000000
##B16AFE1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#228CFF
Deuteranopia (green-blind)
#458DFB
Tritanopia (blue-blind)
#A288AA
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b16afe;
/* rgb */ color: rgb(177, 106, 254);
/* oklch */ color: oklch(66.9% 0.214 303.2);
Tailwind
colors: {
  custom: {
    50: '#cc97ff',
    500: '#b16afe',
    950: '#000000',
  },
}
SCSS
$custom: #b16afe;
$custom-light: #cc97ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b16afe",
  "rgb": {
    "r": 177,
    "g": 106,
    "b": 254
  },
  "hsl": {
    "h": 268.784,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66866,
    "c": 0.21404,
    "h": 303.2
  },
  "luminance": 0.26811
}

Semantic roles & 50–950 ramp

primary
#B16AFE
secondary
#E3F6CE
accent
#E60077
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B16AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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