#B166AE#B166AE

#B166AE is a mid, vivid purple. Relative luminance 0.219; OKLCH L 61.9% C 0.134 H 328.5°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#B166AE
RGBrgb(177, 102, 174)
HSLhsl(302, 32%, 55%)
HSVhsv(302, 42%, 69%)
CMYKcmyk(0%, 42.4%, 1.7%, 30.6%)
CIE-LABlab(53.93, 40.98, -25.78)
CIE-LCHlch(53.93, 48.41, 327.83°)
OKLaboklab(61.95% 0.1146 -0.0702)
OKLCHoklch(61.95% 0.134 328.5)
XYZxyz(30.5223, 21.9074, 42.6570)
Luminance0.2191 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B166AE #66B169
analogous
#8F66B1 #B166AE #B16689
triadic
#B166AE #AEB166 #66AEB1
tetradic
#B166AE #B18F66 #66B169 #6689B1
square
#B166AE #B18F66 #66B169 #6689B1
split-complementary
#B166AE #89B166 #66B18F
monochromatic
#683566 #904A8D #B166AE #C68FC3 #DAB7D9

Accessibility & contrast

On white

3.90
#B166AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#B166AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B166AE
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B166AE#FFFFFF#000000##000000
##B166AE1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#617BB1
Deuteranopia (green-blind)
#7584AC
Tritanopia (blue-blind)
#B66D82
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b166ae;
/* rgb */ color: rgb(177, 102, 174);
/* oklch */ color: oklch(61.9% 0.134 328.5);
Tailwind
colors: {
  custom: {
    50: '#ca94c6',
    500: '#b166ae',
    950: '#000000',
  },
}
SCSS
$custom: #b166ae;
$custom-light: #ca94c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b166ae",
  "rgb": {
    "r": 177,
    "g": 102,
    "b": 174
  },
  "hsl": {
    "h": 302.4,
    "s": 32.468,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61947,
    "c": 0.13439,
    "h": 328.5
  },
  "luminance": 0.21906
}

Semantic roles & 50–950 ramp

primary
#B166AE
secondary
#AAC9AB
accent
#C9635F
background
#FCF9FC
surface
#F9F1F8
border
#D2CBD1
text
#130D13
muted
#827E82

Preview Lab

Preview with #B166AE

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

Preview Lab → · Contrast checker → · Palette generator →

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