#B166BB#B166BB

#B166BB is a light, vivid purple. Relative luminance 0.224; OKLCH L 62.5% C 0.147 H 322.7°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#B166BB
RGBrgb(177, 102, 187)
HSLhsl(293, 38%, 57%)
HSVhsv(293, 45%, 73%)
CMYKcmyk(5.3%, 45.5%, 0%, 26.7%)
CIE-LABlab(54.49, 43.46, -32.41)
CIE-LCHlch(54.49, 54.22, 323.28°)
OKLaboklab(62.55% 0.1172 -0.0892)
OKLCHoklch(62.55% 0.147 322.7)
XYZxyz(31.8515, 22.4390, 49.6575)
Luminance0.2244 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B166BB #70BB66
analogous
#8766BB #B166BB #BB669B
triadic
#B166BB #BBB166 #66BBB1
tetradic
#B166BB #BB8766 #70BB66 #669BBB
square
#B166BB #BB8766 #70BB66 #669BBB
split-complementary
#B166BB #9BBB66 #66BB87
monochromatic
#6C3373 #93469E #B166BB #C790CE #DCBBE1

Accessibility & contrast

On white

3.83
#B166BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#B166BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B166BB
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B166BB#FFFFFF#000000##000000
##B166BB1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7DBE
Deuteranopia (green-blind)
#7085B8
Tritanopia (blue-blind)
#B37088
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b166bb;
/* rgb */ color: rgb(177, 102, 187);
/* oklch */ color: oklch(62.5% 0.147 322.7);
Tailwind
colors: {
  custom: {
    50: '#ca94cf',
    500: '#b166bb',
    950: '#000000',
  },
}
SCSS
$custom: #b166bb;
$custom-light: #ca94cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b166bb",
  "rgb": {
    "r": 177,
    "g": 102,
    "b": 187
  },
  "hsl": {
    "h": 292.941,
    "s": 38.462,
    "l": 56.667
  },
  "oklch": {
    "l": 0.6255,
    "c": 0.14725,
    "h": 322.7
  },
  "luminance": 0.22438
}

Semantic roles & 50–950 ramp

primary
#B166BB
secondary
#B1D0AD
accent
#CE5967
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #B166BB

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

Preview Lab → · Contrast checker → · Palette generator →

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