#B166C0#B166C0

#B166C0 is a light, vivid purple. Relative luminance 0.227; OKLCH L 62.8% C 0.152 H 320.8°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#B166C0
RGBrgb(177, 102, 192)
HSLhsl(290, 42%, 58%)
HSVhsv(290, 47%, 75%)
CMYKcmyk(7.8%, 46.9%, 0%, 24.7%)
CIE-LABlab(54.72, 44.45, -34.93)
CIE-LCHlch(54.72, 56.53, 321.84°)
OKLaboklab(62.79% 0.118 -0.0964)
OKLCHoklch(62.79% 0.152 320.8)
XYZxyz(32.3961, 22.6569, 52.5257)
Luminance0.2266 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B166C0 #75C066
analogous
#8466C0 #B166C0 #C066A2
triadic
#B166C0 #C0B166 #66C0B1
tetradic
#B166C0 #C08466 #75C066 #66A2C0
square
#B166C0 #C08466 #75C066 #66A2C0
split-complementary
#B166C0 #A2C066 #66C084
monochromatic
#6E327A #9544A5 #B166C0 #C791D2 #DDBDE4

Accessibility & contrast

On white

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

On black

5.53
#B166C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B166C0
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B166C0#FFFFFF#000000##000000
##B166C01.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#597EC3
Deuteranopia (green-blind)
#6E86BD
Tritanopia (blue-blind)
#B2728A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b166c0;
/* rgb */ color: rgb(177, 102, 192);
/* oklch */ color: oklch(62.8% 0.152 320.8);
Tailwind
colors: {
  custom: {
    50: '#ca94d3',
    500: '#b166c0',
    950: '#000000',
  },
}
SCSS
$custom: #b166c0;
$custom-light: #ca94d3;
$custom-dark: #000000;
JSON
{
  "hex": "#b166c0",
  "rgb": {
    "r": 177,
    "g": 102,
    "b": 192
  },
  "hsl": {
    "h": 290,
    "s": 41.667,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62794,
    "c": 0.1524,
    "h": 320.8
  },
  "luminance": 0.22656
}

Semantic roles & 50–950 ramp

primary
#B166C0
secondary
#B5D3AF
accent
#D1566B
background
#FCF9FD
surface
#F9F2FA
border
#D2CCD3
text
#130D14
muted
#827E83

Preview Lab

Preview with #B166C0

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

Preview Lab → · Contrast checker → · Palette generator →

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