#B166B8#B166B8

#B166B8 is a light, vivid purple. Relative luminance 0.223; OKLCH L 62.4% C 0.144 H 324.0°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#B166B8
RGBrgb(177, 102, 184)
HSLhsl(295, 37%, 56%)
HSVhsv(295, 45%, 72%)
CMYKcmyk(3.8%, 44.6%, 0%, 27.8%)
CIE-LABlab(54.36, 42.88, -30.89)
CIE-LCHlch(54.36, 52.85, 324.23°)
OKLaboklab(62.41% 0.1166 -0.0848)
OKLCHoklch(62.41% 0.144 324)
XYZxyz(31.5337, 22.3119, 47.9837)
Luminance0.2231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B166B8 #6DB866
analogous
#8866B8 #B166B8 #B86696
triadic
#B166B8 #B8B166 #66B8B1
tetradic
#B166B8 #B88866 #6DB866 #6696B8
square
#B166B8 #B88866 #6DB866 #6696B8
split-complementary
#B166B8 #96B866 #66B888
monochromatic
#6B3470 #93479A #B166B8 #C690CB #DCBADF

Accessibility & contrast

On white

3.84
#B166B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#B166B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B166B8
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B166B8#FFFFFF#000000##000000
##B166B81.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7CBB
Deuteranopia (green-blind)
#7185B5
Tritanopia (blue-blind)
#B46F86
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b166b8;
/* rgb */ color: rgb(177, 102, 184);
/* oklch */ color: oklch(62.4% 0.144 324.0);
Tailwind
colors: {
  custom: {
    50: '#ca94cd',
    500: '#b166b8',
    950: '#000000',
  },
}
SCSS
$custom: #b166b8;
$custom-light: #ca94cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b166b8",
  "rgb": {
    "r": 177,
    "g": 102,
    "b": 184
  },
  "hsl": {
    "h": 294.878,
    "s": 36.607,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62407,
    "c": 0.14421,
    "h": 324
  },
  "luminance": 0.22311
}

Semantic roles & 50–950 ramp

primary
#B166B8
secondary
#AFCEAC
accent
#CD5B65
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#130D13
muted
#827E82

Preview Lab

Preview with #B166B8

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

Preview Lab → · Contrast checker → · Palette generator →

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