#B166BF#B166BF

#B166BF is a light, vivid purple. Relative luminance 0.226; OKLCH L 62.7% C 0.151 H 321.1°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#B166BF
RGBrgb(177, 102, 191)
HSLhsl(291, 41%, 57%)
HSVhsv(291, 47%, 75%)
CMYKcmyk(7.3%, 46.6%, 0%, 25.1%)
CIE-LABlab(54.67, 44.25, -34.43)
CIE-LCHlch(54.67, 56.07, 322.12°)
OKLaboklab(62.75% 0.1179 -0.095)
OKLCHoklch(62.75% 0.151 321.1)
XYZxyz(32.2857, 22.6127, 51.9441)
Luminance0.2261 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B166BF #74BF66
analogous
#8566BF #B166BF #BF66A0
triadic
#B166BF #BFB166 #66BFB1
tetradic
#B166BF #BF8566 #74BF66 #66A0BF
square
#B166BF #BF8566 #74BF66 #66A0BF
split-complementary
#B166BF #A0BF66 #66BF85
monochromatic
#6D3278 #9444A3 #B166BF #C791D1 #DDBCE3

Accessibility & contrast

On white

3.80
#B166BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#B166BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B166BF
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B166BF#FFFFFF#000000##000000
##B166BF1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#597DC2
Deuteranopia (green-blind)
#6E86BC
Tritanopia (blue-blind)
#B3718A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b166bf;
/* rgb */ color: rgb(177, 102, 191);
/* oklch */ color: oklch(62.7% 0.151 321.1);
Tailwind
colors: {
  custom: {
    50: '#ca94d2',
    500: '#b166bf',
    950: '#000000',
  },
}
SCSS
$custom: #b166bf;
$custom-light: #ca94d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b166bf",
  "rgb": {
    "r": 177,
    "g": 102,
    "b": 191
  },
  "hsl": {
    "h": 290.562,
    "s": 41.014,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62745,
    "c": 0.15136,
    "h": 321.1
  },
  "luminance": 0.22611
}

Semantic roles & 50–950 ramp

primary
#B166BF
secondary
#B4D2AE
accent
#D1576A
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #B166BF

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

Preview Lab → · Contrast checker → · Palette generator →

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