#B16AEF#B16AEF

#B16AEF is a light, vivid violet. Relative luminance 0.259; OKLCH L 66.0% C 0.197 H 306.4°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#B16AEF
RGBrgb(177, 106, 239)
HSLhsl(272, 81%, 68%)
HSVhsv(272, 56%, 94%)
CMYKcmyk(25.9%, 55.6%, 0%, 6.3%)
CIE-LABlab(57.93, 52.44, -56.40)
CIE-LCHlch(57.93, 77.01, 312.92°)
OKLaboklab(65.95% 0.117 -0.1588)
OKLCHoklch(65.95% 0.197 306.4)
XYZxyz(38.8622, 25.8875, 84.5941)
Luminance0.2589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B16AEF #A8EF6A
analogous
#6E6AEF #B16AEF #EF6AEB
triadic
#B16AEF #EFB16A #6AEFB1
tetradic
#B16AEF #EF6E6A #A8EF6A #6AEBEF
square
#B16AEF #EF6E6A #A8EF6A #6AEBEF
split-complementary
#B16AEF #EBEF6A #6AEF6E
monochromatic
#7516C9 #9433E9 #B16AEF #CEA1F5 #EBD9FB

Accessibility & contrast

On white

3.40
#B16AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#B16AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B16AEF
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B16AEF#FFFFFF#000000##000000
##B16AEF1.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A89F3
Deuteranopia (green-blind)
#548CEC
Tritanopia (blue-blind)
#A783A3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b16aef;
/* rgb */ color: rgb(177, 106, 239);
/* oklch */ color: oklch(66.0% 0.197 306.4);
Tailwind
colors: {
  custom: {
    50: '#cc97f5',
    500: '#b16aef',
    950: '#000000',
  },
}
SCSS
$custom: #b16aef;
$custom-light: #cc97f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b16aef",
  "rgb": {
    "r": 177,
    "g": 106,
    "b": 239
  },
  "hsl": {
    "h": 272.03,
    "s": 80.606,
    "l": 67.647
  },
  "oklch": {
    "l": 0.65951,
    "c": 0.1973,
    "h": 306.4
  },
  "luminance": 0.25887
}

Semantic roles & 50–950 ramp

primary
#B16AEF
secondary
#D9EFC6
accent
#DD096C
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140E17
muted
#827E85

Preview Lab

Preview with #B16AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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