#B16DEC#B16DEC

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

Color values

HEX#B16DEC
RGBrgb(177, 109, 236)
HSLhsl(272, 77%, 68%)
HSVhsv(272, 54%, 93%)
CMYKcmyk(25%, 53.8%, 0%, 7.5%)
CIE-LABlab(58.36, 50.20, -54.04)
CIE-LCHlch(58.36, 73.76, 312.89°)
OKLaboklab(66.21% 0.1131 -0.1519)
OKLCHoklch(66.21% 0.189 306.7)
XYZxyz(38.7373, 26.3409, 82.3842)
Luminance0.2634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B16DEC #A8EC6D
analogous
#716DEC #B16DEC #EC6DE8
triadic
#B16DEC #ECB16D #6DECB1
tetradic
#B16DEC #EC716D #A8EC6D #6DE8EC
square
#B16DEC #EC716D #A8EC6D #6DE8EC
split-complementary
#B16DEC #E8EC6D #6DEC71
monochromatic
#751AC5 #9437E5 #B16DEC #CEA3F3 #EBD9FA

Accessibility & contrast

On white

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

On black

6.27
#B16DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B16DEC
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B16DEC#FFFFFF#000000##000000
##B16DEC1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#438AF0
Deuteranopia (green-blind)
#5A8DE9
Tritanopia (blue-blind)
#A884A2
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b16dec;
/* rgb */ color: rgb(177, 109, 236);
/* oklch */ color: oklch(66.2% 0.189 306.7);
Tailwind
colors: {
  custom: {
    50: '#cb99f3',
    500: '#b16dec',
    950: '#000000',
  },
}
SCSS
$custom: #b16dec;
$custom-light: #cb99f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b16dec",
  "rgb": {
    "r": 177,
    "g": 109,
    "b": 236
  },
  "hsl": {
    "h": 272.126,
    "s": 76.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.66212,
    "c": 0.18943,
    "h": 306.7
  },
  "luminance": 0.26341
}

Semantic roles & 50–950 ramp

primary
#B16DEC
secondary
#D9EEC7
accent
#D90C6B
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B16DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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