#B166B4#B166B4

#B166B4 is a light, vivid purple. Relative luminance 0.221; OKLCH L 62.2% C 0.140 H 325.7°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#B166B4
RGBrgb(177, 102, 180)
HSLhsl(298, 34%, 55%)
HSVhsv(298, 43%, 71%)
CMYKcmyk(1.7%, 43.3%, 0%, 29.4%)
CIE-LABlab(54.18, 42.11, -28.86)
CIE-LCHlch(54.18, 51.05, 325.58°)
OKLaboklab(62.22% 0.1159 -0.079)
OKLCHoklch(62.22% 0.14 325.7)
XYZxyz(31.1204, 22.1466, 45.8066)
Luminance0.2215 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B166B4 #69B466
analogous
#8A66B4 #B166B4 #B46690
triadic
#B166B4 #B4B166 #66B4B1
tetradic
#B166B4 #B48A66 #69B466 #6690B4
square
#B166B4 #B48A66 #69B466 #6690B4
split-complementary
#B166B4 #90B466 #66B48A
monochromatic
#69346B #914994 #B166B4 #C68FC8 #DBB8DC

Accessibility & contrast

On white

3.87
#B166B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#B166B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B166B4
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B166B4#FFFFFF#000000##000000
##B166B41.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7CB7
Deuteranopia (green-blind)
#7385B2
Tritanopia (blue-blind)
#B56E85
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b166b4;
/* rgb */ color: rgb(177, 102, 180);
/* oklch */ color: oklch(62.2% 0.140 325.7);
Tailwind
colors: {
  custom: {
    50: '#ca94ca',
    500: '#b166b4',
    950: '#000000',
  },
}
SCSS
$custom: #b166b4;
$custom-light: #ca94ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b166b4",
  "rgb": {
    "r": 177,
    "g": 102,
    "b": 180
  },
  "hsl": {
    "h": 297.692,
    "s": 34.211,
    "l": 55.294
  },
  "oklch": {
    "l": 0.6222,
    "c": 0.14022,
    "h": 325.7
  },
  "luminance": 0.22145
}

Semantic roles & 50–950 ramp

primary
#B166B4
secondary
#ACCBAB
accent
#CA5E62
background
#FCF9FC
surface
#F9F1F8
border
#D2CBD1
text
#130D13
muted
#827E82

Preview Lab

Preview with #B166B4

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

Preview Lab → · Contrast checker → · Palette generator →

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