#B166BE#B166BE

#B166BE is a light, vivid purple. Relative luminance 0.226; OKLCH L 62.7% C 0.150 H 321.5°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#B166BE
RGBrgb(177, 102, 190)
HSLhsl(291, 40%, 57%)
HSVhsv(291, 46%, 75%)
CMYKcmyk(6.8%, 46.3%, 0%, 25.5%)
CIE-LABlab(54.63, 44.05, -33.93)
CIE-LCHlch(54.63, 55.60, 322.40°)
OKLaboklab(62.7% 0.1177 -0.0935)
OKLCHoklch(62.7% 0.15 321.5)
XYZxyz(32.1760, 22.5688, 51.3665)
Luminance0.2257 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B166BE #73BE66
analogous
#8566BE #B166BE #BE669F
triadic
#B166BE #BEB166 #66BEB1
tetradic
#B166BE #BE8566 #73BE66 #669FBE
square
#B166BE #BE8566 #73BE66 #669FBE
split-complementary
#B166BE #9FBE66 #66BE85
monochromatic
#6D3377 #9445A2 #B166BE #C791D0 #DDBCE2

Accessibility & contrast

On white

3.81
#B166BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#B166BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B166BE
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B166BE#FFFFFF#000000##000000
##B166BE1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7DC1
Deuteranopia (green-blind)
#6F86BB
Tritanopia (blue-blind)
#B37189
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b166be;
/* rgb */ color: rgb(177, 102, 190);
/* oklch */ color: oklch(62.7% 0.150 321.5);
Tailwind
colors: {
  custom: {
    50: '#ca94d2',
    500: '#b166be',
    950: '#000000',
  },
}
SCSS
$custom: #b166be;
$custom-light: #ca94d2;
$custom-dark: #000000;
JSON
{
  "hex": "#b166be",
  "rgb": {
    "r": 177,
    "g": 102,
    "b": 190
  },
  "hsl": {
    "h": 291.136,
    "s": 40.367,
    "l": 57.255
  },
  "oklch": {
    "l": 0.62696,
    "c": 0.15033,
    "h": 321.5
  },
  "luminance": 0.22568
}

Semantic roles & 50–950 ramp

primary
#B166BE
secondary
#B3D2AE
accent
#D05869
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #B166BE

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

Preview Lab → · Contrast checker → · Palette generator →

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