#B16BEC#B16BEC

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

Color values

HEX#B16BEC
RGBrgb(177, 107, 236)
HSLhsl(273, 77%, 67%)
HSVhsv(273, 55%, 93%)
CMYKcmyk(25%, 54.7%, 0%, 7.5%)
CIE-LABlab(57.96, 51.24, -54.68)
CIE-LCHlch(57.96, 74.94, 313.14°)
OKLaboklab(65.92% 0.1157 -0.1538)
OKLCHoklch(65.92% 0.192 306.9)
XYZxyz(38.5264, 25.9190, 82.3139)
Luminance0.2592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B16BEC #A6EC6B
analogous
#706BEC #B16BEC #EC6BE7
triadic
#B16BEC #ECB16B #6BECB1
tetradic
#B16BEC #EC706B #A6EC6B #6BE7EC
square
#B16BEC #EC706B #A6EC6B #6BE7EC
split-complementary
#B16BEC #E7EC6B #6BEC70
monochromatic
#7619C4 #9435E5 #B16BEC #CEA1F3 #EAD7FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B16BEC#FFFFFF#000000##000000
##B16BEC1.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)
#3F89F0
Deuteranopia (green-blind)
#588CE9
Tritanopia (blue-blind)
#A883A1
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b16bec;
/* rgb */ color: rgb(177, 107, 236);
/* oklch */ color: oklch(65.9% 0.192 306.9);
Tailwind
colors: {
  custom: {
    50: '#cb98f3',
    500: '#b16bec',
    950: '#000000',
  },
}
SCSS
$custom: #b16bec;
$custom-light: #cb98f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b16bec",
  "rgb": {
    "r": 177,
    "g": 107,
    "b": 236
  },
  "hsl": {
    "h": 272.558,
    "s": 77.246,
    "l": 67.255
  },
  "oklch": {
    "l": 0.65919,
    "c": 0.19245,
    "h": 306.9
  },
  "luminance": 0.25919
}

Semantic roles & 50–950 ramp

primary
#B16BEC
secondary
#D8EEC5
accent
#D90C6A
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B16BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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