#B166B2#B166B2

#B166B2 is a light, vivid purple. Relative luminance 0.221; OKLCH L 62.1% C 0.138 H 326.6°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#B166B2
RGBrgb(177, 102, 178)
HSLhsl(299, 33%, 55%)
HSVhsv(299, 43%, 70%)
CMYKcmyk(0.6%, 42.7%, 0%, 30.2%)
CIE-LABlab(54.10, 41.73, -27.83)
CIE-LCHlch(54.10, 50.16, 326.30°)
OKLaboklab(62.13% 0.1154 -0.0761)
OKLCHoklch(62.13% 0.138 326.6)
XYZxyz(30.9181, 22.0657, 44.7414)
Luminance0.2206 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B166B2 #67B266
analogous
#8B66B2 #B166B2 #B2668D
triadic
#B166B2 #B2B166 #66B2B1
tetradic
#B166B2 #B28B66 #67B266 #668DB2
square
#B166B2 #B28B66 #67B266 #668DB2
split-complementary
#B166B2 #8DB266 #66B28B
monochromatic
#683569 #914992 #B166B2 #C68FC6 #DBB7DB

Accessibility & contrast

On white

3.88
#B166B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#B166B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B166B2
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B166B2#FFFFFF#000000##000000
##B166B21.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7BB5
Deuteranopia (green-blind)
#7485B0
Tritanopia (blue-blind)
#B56E84
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b166b2;
/* rgb */ color: rgb(177, 102, 178);
/* oklch */ color: oklch(62.1% 0.138 326.6);
Tailwind
colors: {
  custom: {
    50: '#ca94c9',
    500: '#b166b2',
    950: '#000000',
  },
}
SCSS
$custom: #b166b2;
$custom-light: #ca94c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b166b2",
  "rgb": {
    "r": 177,
    "g": 102,
    "b": 178
  },
  "hsl": {
    "h": 299.211,
    "s": 33.043,
    "l": 54.902
  },
  "oklch": {
    "l": 0.62128,
    "c": 0.13826,
    "h": 326.6
  },
  "luminance": 0.22064
}

Semantic roles & 50–950 ramp

primary
#B166B2
secondary
#AACAAA
accent
#C95F60
background
#FCF9FC
surface
#F9F1F8
border
#D2CBD1
text
#130D13
muted
#827E82

Preview Lab

Preview with #B166B2

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

Preview Lab → · Contrast checker → · Palette generator →

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