#B166EE#B166EE

#B166EE is a light, highly saturated violet. Relative luminance 0.250; OKLCH L 65.3% C 0.202 H 307.1°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#B166EE
RGBrgb(177, 102, 238)
HSLhsl(273, 80%, 67%)
HSVhsv(273, 57%, 93%)
CMYKcmyk(25.6%, 57.1%, 0%, 6.7%)
CIE-LABlab(57.10, 54.27, -57.17)
CIE-LCHlch(57.10, 78.83, 313.51°)
OKLaboklab(65.32% 0.122 -0.1611)
OKLCHoklch(65.32% 0.202 307.1)
XYZxyz(38.3123, 25.0233, 83.6840)
Luminance0.2502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B166EE #A3EE66
analogous
#6D66EE #B166EE #EE66E7
triadic
#B166EE #EEB166 #66EEB1
tetradic
#B166EE #EE6D66 #A3EE66 #66E7EE
square
#B166EE #EE6D66 #A3EE66 #66E7EE
split-complementary
#B166EE #E7EE66 #66EE6D
monochromatic
#7616C4 #952FE8 #B166EE #CD9DF4 #E9D4FA

Accessibility & contrast

On white

3.50
#B166EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#B166EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B166EE
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B166EE#FFFFFF#000000##000000
##B166EE1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3286F2
Deuteranopia (green-blind)
#508AEB
Tritanopia (blue-blind)
#A780A0
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b166ee;
/* rgb */ color: rgb(177, 102, 238);
/* oklch */ color: oklch(65.3% 0.202 307.1);
Tailwind
colors: {
  custom: {
    50: '#cc95f4',
    500: '#b166ee',
    950: '#000000',
  },
}
SCSS
$custom: #b166ee;
$custom-light: #cc95f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b166ee",
  "rgb": {
    "r": 177,
    "g": 102,
    "b": 238
  },
  "hsl": {
    "h": 273.088,
    "s": 80,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65323,
    "c": 0.20205,
    "h": 307.1
  },
  "luminance": 0.25023
}

Semantic roles & 50–950 ramp

primary
#B166EE
secondary
#D6EEC2
accent
#DC0968
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140D17
muted
#827E85

Preview Lab

Preview with #B166EE

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

Preview Lab → · Contrast checker → · Palette generator →

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