#B166CE#B166CE

#B166CE is a light, vivid purple. Relative luminance 0.233; OKLCH L 63.5% C 0.167 H 315.8°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#B166CE
RGBrgb(177, 102, 206)
HSLhsl(283, 51%, 60%)
HSVhsv(283, 50%, 81%)
CMYKcmyk(14.1%, 50.5%, 0%, 19.2%)
CIE-LABlab(55.39, 47.31, -41.87)
CIE-LCHlch(55.39, 63.18, 318.49°)
OKLaboklab(63.51% 0.12 -0.1165)
OKLCHoklch(63.51% 0.167 315.8)
XYZxyz(34.0217, 23.3071, 61.0871)
Luminance0.2331 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B166CE #83CE66
analogous
#7D66CE #B166CE #CE66B7
triadic
#B166CE #CEB166 #66CEB1
tetradic
#B166CE #CE7D66 #83CE66 #66B7CE
square
#B166CE #CE7D66 #83CE66 #66B7CE
split-complementary
#B166CE #B7CE66 #66CE7D
monochromatic
#722D8D #973CBB #B166CE #C994DD #E0C3EC

Accessibility & contrast

On white

3.71
#B166CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#B166CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B166CE
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B166CE#FFFFFF#000000##000000
##B166CE1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5080D2
Deuteranopia (green-blind)
#6787CB
Tritanopia (blue-blind)
#B07691
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b166ce;
/* rgb */ color: rgb(177, 102, 206);
/* oklch */ color: oklch(63.5% 0.167 315.8);
Tailwind
colors: {
  custom: {
    50: '#ca94dd',
    500: '#b166ce',
    950: '#000000',
  },
}
SCSS
$custom: #b166ce;
$custom-light: #ca94dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b166ce",
  "rgb": {
    "r": 177,
    "g": 102,
    "b": 206
  },
  "hsl": {
    "h": 283.269,
    "s": 51.485,
    "l": 60.392
  },
  "oklch": {
    "l": 0.6351,
    "c": 0.16719,
    "h": 315.8
  },
  "luminance": 0.23306
}

Semantic roles & 50–950 ramp

primary
#B166CE
secondary
#BFDCB4
accent
#BF2751
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #B166CE

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

Preview Lab → · Contrast checker → · Palette generator →

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