#B16AFB#B16AFB

#B16AFB is a light, highly saturated violet. Relative luminance 0.266; OKLCH L 66.7% C 0.211 H 303.8°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#B16AFB
RGBrgb(177, 106, 251)
HSLhsl(269, 95%, 70%)
HSVhsv(269, 58%, 98%)
CMYKcmyk(29.5%, 57.8%, 0%, 1.6%)
CIE-LABlab(58.62, 55.21, -61.94)
CIE-LCHlch(58.62, 82.97, 311.71°)
OKLaboklab(66.68% 0.1172 -0.1751)
OKLCHoklch(66.68% 0.211 303.8)
XYZxyz(40.6942, 26.6203, 94.2425)
Luminance0.2662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B16AFB #B4FB6A
analogous
#6A6CFB #B16AFB #F96AFB
triadic
#B16AFB #FBB16A #6AFBB1
tetradic
#B16AFB #FB6A6C #B4FB6A #6AFBF9
square
#B16AFB #FB6A6C #B4FB6A #6AFBF9
split-complementary
#B16AFB #FBF96A #6CFB6A
monochromatic
#7306E4 #922EF9 #B16AFB #D0A6FD #EFE1FE

Accessibility & contrast

On white

3.32
#B16AFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#B16AFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B16AFB
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B16AFB#FFFFFF#000000##000000
##B16AFB1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#288BFF
Deuteranopia (green-blind)
#488DF8
Tritanopia (blue-blind)
#A387A9
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b16afb;
/* rgb */ color: rgb(177, 106, 251);
/* oklch */ color: oklch(66.7% 0.211 303.8);
Tailwind
colors: {
  custom: {
    50: '#cc97fd',
    500: '#b16afb',
    950: '#000000',
  },
}
SCSS
$custom: #b16afb;
$custom-light: #cc97fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b16afb",
  "rgb": {
    "r": 177,
    "g": 106,
    "b": 251
  },
  "hsl": {
    "h": 269.379,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.66679,
    "c": 0.2107,
    "h": 303.8
  },
  "luminance": 0.2662
}

Semantic roles & 50–950 ramp

primary
#B16AFB
secondary
#E1F5CC
accent
#E60075
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #B16AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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