#B16BEB#B16BEB

#B16BEB is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.9% C 0.191 H 307.2°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#B16BEB
RGBrgb(177, 107, 235)
HSLhsl(273, 76%, 67%)
HSVhsv(273, 54%, 92%)
CMYKcmyk(24.7%, 54.5%, 0%, 7.8%)
CIE-LABlab(57.91, 51.02, -54.21)
CIE-LCHlch(57.91, 74.44, 313.26°)
OKLaboklab(65.86% 0.1156 -0.1524)
OKLCHoklch(65.86% 0.191 307.2)
XYZxyz(38.3815, 25.8611, 81.5509)
Luminance0.2586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B16BEB #A5EB6B
analogous
#716BEB #B16BEB #EB6BE5
triadic
#B16BEB #EBB16B #6BEBB1
tetradic
#B16BEB #EB716B #A5EB6B #6BE5EB
square
#B16BEB #EB716B #A5EB6B #6BE5EB
split-complementary
#B16BEB #E5EB6B #6BEB71
monochromatic
#761AC1 #9535E4 #B16BEB #CDA1F2 #EAD7FA

Accessibility & contrast

On white

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

On black

6.17
#B16BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B16BEB
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B16BEB#FFFFFF#000000##000000
##B16BEB1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4089EF
Deuteranopia (green-blind)
#588CE8
Tritanopia (blue-blind)
#A882A1
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b16beb;
/* rgb */ color: rgb(177, 107, 235);
/* oklch */ color: oklch(65.9% 0.191 307.2);
Tailwind
colors: {
  custom: {
    50: '#cb98f2',
    500: '#b16beb',
    950: '#000000',
  },
}
SCSS
$custom: #b16beb;
$custom-light: #cb98f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b16beb",
  "rgb": {
    "r": 177,
    "g": 107,
    "b": 235
  },
  "hsl": {
    "h": 272.813,
    "s": 76.19,
    "l": 67.059
  },
  "oklch": {
    "l": 0.6586,
    "c": 0.19132,
    "h": 307.2
  },
  "luminance": 0.25861
}

Semantic roles & 50–950 ramp

primary
#B16BEB
secondary
#D7EDC5
accent
#D80D69
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B16BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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