#B166DE#B166DE

#B166DE is a light, vivid violet. Relative luminance 0.241; OKLCH L 64.4% C 0.185 H 311.1°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#B166DE
RGBrgb(177, 102, 222)
HSLhsl(278, 65%, 64%)
HSVhsv(278, 54%, 87%)
CMYKcmyk(20.3%, 54.1%, 0%, 12.9%)
CIE-LABlab(56.21, 50.72, -49.62)
CIE-LCHlch(56.21, 70.95, 315.63°)
OKLaboklab(64.39% 0.1214 -0.139)
OKLCHoklch(64.39% 0.185 311.1)
XYZxyz(36.0652, 24.1245, 71.8497)
Luminance0.2412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B166DE #93DE66
analogous
#7566DE #B166DE #DE66CF
triadic
#B166DE #DEB166 #66DEB1
tetradic
#B166DE #DE7566 #93DE66 #66CFDE
square
#B166DE #DE7566 #93DE66 #66CFDE
split-complementary
#B166DE #CFDE66 #66DE75
monochromatic
#7524A6 #9734D3 #B166DE #CB98E9 #E4CBF4

Accessibility & contrast

On white

3.61
#B166DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#B166DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B166DE
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B166DE#FFFFFF#000000##000000
##B166DE1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4483E2
Deuteranopia (green-blind)
#5D88DB
Tritanopia (blue-blind)
#AC7B98
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b166de;
/* rgb */ color: rgb(177, 102, 222);
/* oklch */ color: oklch(64.4% 0.185 311.1);
Tailwind
colors: {
  custom: {
    50: '#cb94e9',
    500: '#b166de',
    950: '#000000',
  },
}
SCSS
$custom: #b166de;
$custom-light: #cb94e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b166de",
  "rgb": {
    "r": 177,
    "g": 102,
    "b": 222
  },
  "hsl": {
    "h": 277.5,
    "s": 64.516,
    "l": 63.529
  },
  "oklch": {
    "l": 0.64387,
    "c": 0.18453,
    "h": 311.1
  },
  "luminance": 0.24124
}

Semantic roles & 50–950 ramp

primary
#B166DE
secondary
#CBE5BB
accent
#CC195C
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B166DE

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

Preview Lab → · Contrast checker → · Palette generator →

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