#B16AFA#B16AFA

#B16AFA is a light, highly saturated violet. Relative luminance 0.266; OKLCH L 66.6% C 0.210 H 304.0°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#B16AFA
RGBrgb(177, 106, 250)
HSLhsl(270, 94%, 70%)
HSVhsv(270, 58%, 98%)
CMYKcmyk(29.2%, 57.6%, 0%, 2%)
CIE-LABlab(58.56, 54.97, -61.49)
CIE-LCHlch(58.56, 82.48, 311.80°)
OKLaboklab(66.62% 0.1172 -0.1737)
OKLCHoklch(66.62% 0.21 304)
XYZxyz(40.5370, 26.5574, 93.4145)
Luminance0.2656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B16AFA #B3FA6A
analogous
#6A6BFA #B16AFA #F96AFA
triadic
#B16AFA #FAB16A #6AFAB1
tetradic
#B16AFA #FA6A6B #B3FA6A #6AFAF9
square
#B16AFA #FA6A6B #B3FA6A #6AFAF9
split-complementary
#B16AFA #FAF96A #6BFA6A
monochromatic
#7308E2 #922FF8 #B16AFA #D0A5FC #EFE0FE

Accessibility & contrast

On white

3.33
#B16AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#B16AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B16AFA
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B16AFA#FFFFFF#000000##000000
##B16AFA1.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A8BFF
Deuteranopia (green-blind)
#4A8DF7
Tritanopia (blue-blind)
#A487A8
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b16afa;
/* rgb */ color: rgb(177, 106, 250);
/* oklch */ color: oklch(66.6% 0.210 304.0);
Tailwind
colors: {
  custom: {
    50: '#cc97fd',
    500: '#b16afa',
    950: '#000000',
  },
}
SCSS
$custom: #b16afa;
$custom-light: #cc97fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b16afa",
  "rgb": {
    "r": 177,
    "g": 106,
    "b": 250
  },
  "hsl": {
    "h": 269.583,
    "s": 93.506,
    "l": 69.804
  },
  "oklch": {
    "l": 0.66617,
    "c": 0.20958,
    "h": 304
  },
  "luminance": 0.26557
}

Semantic roles & 50–950 ramp

primary
#B16AFA
secondary
#E0F4CC
accent
#E60074
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E18
muted
#827E86

Preview Lab

Preview with #B16AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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