#B166B6#B166B6

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

Color values

HEX#B166B6
RGBrgb(177, 102, 182)
HSLhsl(296, 35%, 56%)
HSVhsv(296, 44%, 71%)
CMYKcmyk(2.7%, 44%, 0%, 28.6%)
CIE-LABlab(54.27, 42.49, -29.88)
CIE-LCHlch(54.27, 51.94, 324.89°)
OKLaboklab(62.31% 0.1163 -0.0819)
OKLCHoklch(62.31% 0.142 324.8)
XYZxyz(31.3256, 22.2287, 46.8874)
Luminance0.2223 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B166B6 #6BB666
analogous
#8966B6 #B166B6 #B66693
triadic
#B166B6 #B6B166 #66B6B1
tetradic
#B166B6 #B68966 #6BB666 #6693B6
square
#B166B6 #B68966 #6BB666 #6693B6
split-complementary
#B166B6 #93B666 #66B689
monochromatic
#6A346D #924897 #B166B6 #C68FCA #DBB9DE

Accessibility & contrast

On white

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

On black

5.45
#B166B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B166B6
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B166B6#FFFFFF#000000##000000
##B166B61.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7CB9
Deuteranopia (green-blind)
#7285B4
Tritanopia (blue-blind)
#B46F85
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b166b6;
/* rgb */ color: rgb(177, 102, 182);
/* oklch */ color: oklch(62.3% 0.142 324.8);
Tailwind
colors: {
  custom: {
    50: '#ca94cc',
    500: '#b166b6',
    950: '#000000',
  },
}
SCSS
$custom: #b166b6;
$custom-light: #ca94cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b166b6",
  "rgb": {
    "r": 177,
    "g": 102,
    "b": 182
  },
  "hsl": {
    "h": 296.25,
    "s": 35.398,
    "l": 55.686
  },
  "oklch": {
    "l": 0.62313,
    "c": 0.14221,
    "h": 324.8
  },
  "luminance": 0.22227
}

Semantic roles & 50–950 ramp

primary
#B166B6
secondary
#ADCDAB
accent
#CB5C63
background
#FCF9FC
surface
#F9F2F8
border
#D2CCD1
text
#130D13
muted
#827E82

Preview Lab

Preview with #B166B6

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

Preview Lab → · Contrast checker → · Palette generator →

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