#B166B5#B166B5

#B166B5 is a light, vivid purple. Relative luminance 0.222; OKLCH L 62.3% C 0.141 H 325.3°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#B166B5
RGBrgb(177, 102, 181)
HSLhsl(297, 35%, 55%)
HSVhsv(297, 44%, 71%)
CMYKcmyk(2.2%, 43.6%, 0%, 29%)
CIE-LABlab(54.23, 42.30, -29.37)
CIE-LCHlch(54.23, 51.49, 325.23°)
OKLaboklab(62.27% 0.1161 -0.0805)
OKLCHoklch(62.27% 0.141 325.3)
XYZxyz(31.2226, 22.1875, 46.3451)
Luminance0.2219 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B166B5 #6AB566
analogous
#8966B5 #B166B5 #B56691
triadic
#B166B5 #B5B166 #66B5B1
tetradic
#B166B5 #B58966 #6AB566 #6691B5
square
#B166B5 #B58966 #6AB566 #6691B5
split-complementary
#B166B5 #91B566 #66B589
monochromatic
#69346C #924895 #B166B5 #C68FC9 #DBB8DD

Accessibility & contrast

On white

3.86
#B166B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#B166B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B166B5
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B166B5#FFFFFF#000000##000000
##B166B51.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7CB8
Deuteranopia (green-blind)
#7385B3
Tritanopia (blue-blind)
#B46E85
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b166b5;
/* rgb */ color: rgb(177, 102, 181);
/* oklch */ color: oklch(62.3% 0.141 325.3);
Tailwind
colors: {
  custom: {
    50: '#ca94cb',
    500: '#b166b5',
    950: '#000000',
  },
}
SCSS
$custom: #b166b5;
$custom-light: #ca94cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b166b5",
  "rgb": {
    "r": 177,
    "g": 102,
    "b": 181
  },
  "hsl": {
    "h": 296.962,
    "s": 34.802,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62266,
    "c": 0.14121,
    "h": 325.3
  },
  "luminance": 0.22186
}

Semantic roles & 50–950 ramp

primary
#B166B5
secondary
#ADCCAB
accent
#CB5D63
background
#FCF9FC
surface
#F9F2F8
border
#D2CCD1
text
#130D13
muted
#827E82

Preview Lab

Preview with #B166B5

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

Preview Lab → · Contrast checker → · Palette generator →

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