#B166DD#B166DD

#B166DD is a light, vivid violet. Relative luminance 0.241; OKLCH L 64.3% C 0.183 H 311.4°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#B166DD
RGBrgb(177, 102, 221)
HSLhsl(278, 64%, 63%)
HSVhsv(278, 54%, 87%)
CMYKcmyk(19.9%, 53.8%, 0%, 13.3%)
CIE-LABlab(56.16, 50.50, -49.14)
CIE-LCHlch(56.16, 70.47, 315.79°)
OKLaboklab(64.33% 0.1213 -0.1376)
OKLCHoklch(64.33% 0.183 311.4)
XYZxyz(35.9316, 24.0711, 71.1459)
Luminance0.2407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B166DD #92DD66
analogous
#7566DD #B166DD #DD66CD
triadic
#B166DD #DDB166 #66DDB1
tetradic
#B166DD #DD7566 #92DD66 #66CDDD
square
#B166DD #DD7566 #92DD66 #66CDDD
split-complementary
#B166DD #CDDD66 #66DD75
monochromatic
#7524A4 #9734D2 #B166DD #CB98E8 #E4CAF3

Accessibility & contrast

On white

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

On black

5.81
#B166DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B166DD
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B166DD#FFFFFF#000000##000000
##B166DD1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4583E1
Deuteranopia (green-blind)
#5E88DA
Tritanopia (blue-blind)
#AC7A98
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b166dd;
/* rgb */ color: rgb(177, 102, 221);
/* oklch */ color: oklch(64.3% 0.183 311.4);
Tailwind
colors: {
  custom: {
    50: '#cb94e8',
    500: '#b166dd',
    950: '#000000',
  },
}
SCSS
$custom: #b166dd;
$custom-light: #cb94e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b166dd",
  "rgb": {
    "r": 177,
    "g": 102,
    "b": 221
  },
  "hsl": {
    "h": 277.815,
    "s": 63.636,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6433,
    "c": 0.18344,
    "h": 311.4
  },
  "luminance": 0.2407
}

Semantic roles & 50–950 ramp

primary
#B166DD
secondary
#CAE5BA
accent
#CB1A5C
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B166DD

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

Preview Lab → · Contrast checker → · Palette generator →

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