#B16CEF#B16CEF

#B16CEF is a light, vivid violet. Relative luminance 0.263; OKLCH L 66.2% C 0.194 H 306.1°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#B16CEF
RGBrgb(177, 108, 239)
HSLhsl(272, 80%, 68%)
HSVhsv(272, 55%, 94%)
CMYKcmyk(25.9%, 54.8%, 0%, 6.3%)
CIE-LABlab(58.33, 51.40, -55.76)
CIE-LCHlch(58.33, 75.84, 312.67°)
OKLaboklab(66.24% 0.1145 -0.157)
OKLCHoklch(66.24% 0.194 306.1)
XYZxyz(39.0707, 26.3046, 84.6636)
Luminance0.2630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B16CEF #AAEF6C
analogous
#6F6CEF #B16CEF #EF6CEB
triadic
#B16CEF #EFB16C #6CEFB1
tetradic
#B16CEF #EF6F6C #AAEF6C #6CEBEF
square
#B16CEF #EF6F6C #AAEF6C #6CEBEF
split-complementary
#B16CEF #EBEF6C #6CEF6F
monochromatic
#7516CB #9435E9 #B16CEF #CEA3F5 #ECDAFB

Accessibility & contrast

On white

3.35
#B16CEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#B16CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B16CEF
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B16CEF#FFFFFF#000000##000000
##B16CEF1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8AF3
Deuteranopia (green-blind)
#568DEC
Tritanopia (blue-blind)
#A784A3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b16cef;
/* rgb */ color: rgb(177, 108, 239);
/* oklch */ color: oklch(66.2% 0.194 306.1);
Tailwind
colors: {
  custom: {
    50: '#cb98f5',
    500: '#b16cef',
    950: '#000000',
  },
}
SCSS
$custom: #b16cef;
$custom-light: #cb98f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b16cef",
  "rgb": {
    "r": 177,
    "g": 108,
    "b": 239
  },
  "hsl": {
    "h": 271.603,
    "s": 80.368,
    "l": 68.039
  },
  "oklch": {
    "l": 0.66241,
    "c": 0.19433,
    "h": 306.1
  },
  "luminance": 0.26304
}

Semantic roles & 50–950 ramp

primary
#B16CEF
secondary
#DAEFC7
accent
#DD096D
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140E17
muted
#827E85

Preview Lab

Preview with #B16CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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