#B166B0#B166B0

#B166B0 is a light, vivid purple. Relative luminance 0.220; OKLCH L 62.0% C 0.136 H 327.5°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#B166B0
RGBrgb(177, 102, 176)
HSLhsl(301, 32%, 55%)
HSVhsv(301, 42%, 69%)
CMYKcmyk(0%, 42.4%, 0.6%, 30.6%)
CIE-LABlab(54.01, 41.35, -26.81)
CIE-LCHlch(54.01, 49.28, 327.05°)
OKLaboklab(62.04% 0.115 -0.0732)
OKLCHoklch(62.04% 0.136 327.5)
XYZxyz(30.7188, 21.9859, 43.6915)
Luminance0.2198 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B166B0 #66B167
analogous
#8D66B1 #B166B0 #B1668B
triadic
#B166B0 #B0B166 #66B0B1
tetradic
#B166B0 #B18D66 #66B167 #668BB1
square
#B166B0 #B18D66 #66B167 #668BB1
split-complementary
#B166B0 #8BB166 #66B18D
monochromatic
#683567 #904A8F #B166B0 #C68FC5 #DAB7DA

Accessibility & contrast

On white

3.89
#B166B0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#B166B0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B166B0
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B166B0#FFFFFF#000000##000000
##B166B01.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#607BB3
Deuteranopia (green-blind)
#7585AE
Tritanopia (blue-blind)
#B56D83
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b166b0;
/* rgb */ color: rgb(177, 102, 176);
/* oklch */ color: oklch(62.0% 0.136 327.5);
Tailwind
colors: {
  custom: {
    50: '#ca94c8',
    500: '#b166b0',
    950: '#000000',
  },
}
SCSS
$custom: #b166b0;
$custom-light: #ca94c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b166b0",
  "rgb": {
    "r": 177,
    "g": 102,
    "b": 176
  },
  "hsl": {
    "h": 300.8,
    "s": 32.468,
    "l": 54.706
  },
  "oklch": {
    "l": 0.62037,
    "c": 0.13631,
    "h": 327.5
  },
  "luminance": 0.21984
}

Semantic roles & 50–950 ramp

primary
#B166B0
secondary
#AAC9AA
accent
#C9615F
background
#FCF9FC
surface
#F9F1F8
border
#D2CBD1
text
#130D13
muted
#827E82

Preview Lab

Preview with #B166B0

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

Preview Lab → · Contrast checker → · Palette generator →

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