#B166C8#B166C8

#B166C8 is a light, vivid purple. Relative luminance 0.230; OKLCH L 63.2% C 0.161 H 317.9°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#B166C8
RGBrgb(177, 102, 200)
HSLhsl(286, 47%, 59%)
HSVhsv(286, 49%, 78%)
CMYKcmyk(11.5%, 49%, 0%, 21.6%)
CIE-LABlab(55.09, 46.07, -38.92)
CIE-LCHlch(55.09, 60.30, 319.81°)
OKLaboklab(63.2% 0.1192 -0.1079)
OKLCHoklch(63.2% 0.161 317.9)
XYZxyz(33.3067, 23.0211, 57.3214)
Luminance0.2302 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B166C8 #7DC866
analogous
#8066C8 #B166C8 #C866AE
triadic
#B166C8 #C8B166 #66C8B1
tetradic
#B166C8 #C88066 #7DC866 #66AEC8
square
#B166C8 #C88066 #7DC866 #66AEC8
split-complementary
#B166C8 #AEC866 #66C880
monochromatic
#702F84 #9740B1 #B166C8 #C893D8 #DFC0E8

Accessibility & contrast

On white

3.75
#B166C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#B166C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B166C8
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B166C8#FFFFFF#000000##000000
##B166C81.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#547FCB
Deuteranopia (green-blind)
#6A86C5
Tritanopia (blue-blind)
#B1748E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b166c8;
/* rgb */ color: rgb(177, 102, 200);
/* oklch */ color: oklch(63.2% 0.161 317.9);
Tailwind
colors: {
  custom: {
    50: '#ca94d9',
    500: '#b166c8',
    950: '#000000',
  },
}
SCSS
$custom: #b166c8;
$custom-light: #ca94d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b166c8",
  "rgb": {
    "r": 177,
    "g": 102,
    "b": 200
  },
  "hsl": {
    "h": 285.918,
    "s": 47.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.63197,
    "c": 0.16079,
    "h": 317.9
  },
  "luminance": 0.2302
}

Semantic roles & 50–950 ramp

primary
#B166C8
secondary
#BBD8B2
accent
#D75170
background
#FCF9FD
surface
#F9F2FA
border
#D2CCD3
text
#130D14
muted
#827E83

Preview Lab

Preview with #B166C8

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

Preview Lab → · Contrast checker → · Palette generator →

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