#B166AA#B166AA

#B166AA is a mid, vivid purple. Relative luminance 0.218; OKLCH L 61.8% C 0.131 H 330.5°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#B166AA
RGBrgb(177, 102, 170)
HSLhsl(306, 32%, 55%)
HSVhsv(306, 42%, 69%)
CMYKcmyk(0%, 42.4%, 4%, 30.6%)
CIE-LABlab(53.76, 40.24, -23.71)
CIE-LCHlch(53.76, 46.71, 329.50°)
OKLaboklab(61.77% 0.1137 -0.0644)
OKLCHoklch(61.77% 0.131 330.5)
XYZxyz(30.1382, 21.7537, 40.6338)
Luminance0.2175 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B166AA #66B16D
analogous
#9366B1 #B166AA #B16685
triadic
#B166AA #AAB166 #66AAB1
tetradic
#B166AA #B19366 #66B16D #6685B1
square
#B166AA #B19366 #66B16D #6685B1
split-complementary
#B166AA #85B166 #66B193
monochromatic
#683563 #904A8A #B166AA #C68FC1 #DAB7D7

Accessibility & contrast

On white

3.92
#B166AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#B166AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B166AA
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B166AA#FFFFFF#000000##000000
##B166AA1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#637AAC
Deuteranopia (green-blind)
#7784A8
Tritanopia (blue-blind)
#B66C80
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b166aa;
/* rgb */ color: rgb(177, 102, 170);
/* oklch */ color: oklch(61.8% 0.131 330.5);
Tailwind
colors: {
  custom: {
    50: '#ca93c3',
    500: '#b166aa',
    950: '#000000',
  },
}
SCSS
$custom: #b166aa;
$custom-light: #ca93c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b166aa",
  "rgb": {
    "r": 177,
    "g": 102,
    "b": 170
  },
  "hsl": {
    "h": 305.6,
    "s": 32.468,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61771,
    "c": 0.13062,
    "h": 330.5
  },
  "luminance": 0.21752
}

Semantic roles & 50–950 ramp

primary
#B166AA
secondary
#AAC9AD
accent
#C9695F
background
#FCF9FC
surface
#F9F1F8
border
#D2CBD1
text
#130D12
muted
#827E81

Preview Lab

Preview with #B166AA

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

Preview Lab → · Contrast checker → · Palette generator →

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