#B16FEB#B16FEB

#B16FEB is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.5% C 0.185 H 306.6°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#B16FEB
RGBrgb(177, 111, 235)
HSLhsl(272, 76%, 68%)
HSVhsv(272, 53%, 92%)
CMYKcmyk(24.7%, 52.8%, 0%, 7.8%)
CIE-LABlab(58.71, 48.91, -52.93)
CIE-LCHlch(58.71, 72.07, 312.74°)
OKLaboklab(66.45% 0.1105 -0.1487)
OKLCHoklch(66.45% 0.185 306.6)
XYZxyz(38.8082, 26.7145, 81.6931)
Luminance0.2671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B16FEB #A9EB6F
analogous
#736FEB #B16FEB #EB6FE7
triadic
#B16FEB #EBB16F #6FEBB1
tetradic
#B16FEB #EB736F #A9EB6F #6FE7EB
square
#B16FEB #EB736F #A9EB6F #6FE7EB
split-complementary
#B16FEB #E7EB6F #6FEB73
monochromatic
#751BC4 #9439E4 #B16FEB #CEA5F2 #EBDAFA

Accessibility & contrast

On white

3.31
#B16FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#B16FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B16FEB
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B16FEB#FFFFFF#000000##000000
##B16FEB1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#488BEF
Deuteranopia (green-blind)
#5D8EE8
Tritanopia (blue-blind)
#A885A3
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b16feb;
/* rgb */ color: rgb(177, 111, 235);
/* oklch */ color: oklch(66.5% 0.185 306.6);
Tailwind
colors: {
  custom: {
    50: '#cb9af2',
    500: '#b16feb',
    950: '#000000',
  },
}
SCSS
$custom: #b16feb;
$custom-light: #cb9af2;
$custom-dark: #000000;
JSON
{
  "hex": "#b16feb",
  "rgb": {
    "r": 177,
    "g": 111,
    "b": 235
  },
  "hsl": {
    "h": 271.935,
    "s": 75.61,
    "l": 67.843
  },
  "oklch": {
    "l": 0.66453,
    "c": 0.18526,
    "h": 306.6
  },
  "luminance": 0.26714
}

Semantic roles & 50–950 ramp

primary
#B16FEB
secondary
#DAEEC8
accent
#D80E6C
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B16FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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