#B166BD#B166BD

#B166BD is a light, vivid purple. Relative luminance 0.225; OKLCH L 62.6% C 0.149 H 321.9°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#B166BD
RGBrgb(177, 102, 189)
HSLhsl(292, 40%, 57%)
HSVhsv(292, 46%, 74%)
CMYKcmyk(6.3%, 46%, 0%, 25.9%)
CIE-LABlab(54.58, 43.85, -33.42)
CIE-LCHlch(54.58, 55.14, 322.69°)
OKLaboklab(62.65% 0.1175 -0.0921)
OKLCHoklch(62.65% 0.149 321.9)
XYZxyz(32.0671, 22.5253, 50.7929)
Luminance0.2252 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B166BD #72BD66
analogous
#8666BD #B166BD #BD669E
triadic
#B166BD #BDB166 #66BDB1
tetradic
#B166BD #BD8666 #72BD66 #669EBD
square
#B166BD #BD8666 #72BD66 #669EBD
split-complementary
#B166BD #9EBD66 #66BD86
monochromatic
#6D3376 #9445A1 #B166BD #C791CF #DDBCE2

Accessibility & contrast

On white

3.81
#B166BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#B166BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B166BD
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B166BD#FFFFFF#000000##000000
##B166BD1.003.815.505.50
#FFFFFF3.811.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7DC0
Deuteranopia (green-blind)
#6F86BA
Tritanopia (blue-blind)
#B37189
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b166bd;
/* rgb */ color: rgb(177, 102, 189);
/* oklch */ color: oklch(62.6% 0.149 321.9);
Tailwind
colors: {
  custom: {
    50: '#ca94d1',
    500: '#b166bd',
    950: '#000000',
  },
}
SCSS
$custom: #b166bd;
$custom-light: #ca94d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b166bd",
  "rgb": {
    "r": 177,
    "g": 102,
    "b": 189
  },
  "hsl": {
    "h": 291.724,
    "s": 39.726,
    "l": 57.059
  },
  "oklch": {
    "l": 0.62647,
    "c": 0.1493,
    "h": 321.9
  },
  "luminance": 0.22524
}

Semantic roles & 50–950 ramp

primary
#B166BD
secondary
#B3D1AE
accent
#D05869
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #B166BD

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

Preview Lab → · Contrast checker → · Palette generator →

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