#B366AB#B366AB

#B366AB is a light, vivid purple. Relative luminance 0.220; OKLCH L 62.1% C 0.133 H 330.9°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#B366AB
RGBrgb(179, 102, 171)
HSLhsl(306, 34%, 55%)
HSVhsv(306, 43%, 70%)
CMYKcmyk(0%, 43%, 4.5%, 29.8%)
CIE-LABlab(54.06, 41.06, -23.82)
CIE-LCHlch(54.06, 47.47, 329.88°)
OKLaboklab(62.06% 0.1162 -0.0647)
OKLCHoklch(62.06% 0.133 330.9)
XYZxyz(30.6921, 22.0284, 41.1554)
Luminance0.2203 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366AB #66B36E
analogous
#9566B3 #B366AB #B36684
triadic
#B366AB #ABB366 #66ABB3
tetradic
#B366AB #B39566 #66B36E #6684B3
square
#B366AB #B39566 #66B36E #6684B3
split-complementary
#B366AB #84B366 #66B395
monochromatic
#6A3564 #93498B #B366AB #C78FC1 #DCB8D8

Accessibility & contrast

On white

3.89
#B366AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#B366AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366AB
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366AB#FFFFFF#000000##000000
##B366AB1.003.895.415.41
#FFFFFF3.891.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#637BAD
Deuteranopia (green-blind)
#7885A9
Tritanopia (blue-blind)
#B96B81
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b366ab;
/* rgb */ color: rgb(179, 102, 171);
/* oklch */ color: oklch(62.1% 0.133 330.9);
Tailwind
colors: {
  custom: {
    50: '#cb94c4',
    500: '#b366ab',
    950: '#000000',
  },
}
SCSS
$custom: #b366ab;
$custom-light: #cb94c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b366ab",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 171
  },
  "hsl": {
    "h": 306.234,
    "s": 33.624,
    "l": 55.098
  },
  "oklch": {
    "l": 0.62057,
    "c": 0.133,
    "h": 330.9
  },
  "luminance": 0.22027
}

Semantic roles & 50–950 ramp

primary
#B366AB
secondary
#AACBAE
accent
#CA695E
background
#FCF9FC
surface
#F9F1F8
border
#D2CBD1
text
#130D12
muted
#827E81

Preview Lab

Preview with #B366AB

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

Preview Lab → · Contrast checker → · Palette generator →

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