#B366AA#B366AA

#B366AA is a light, vivid purple. Relative luminance 0.220; OKLCH L 62.0% C 0.132 H 331.4°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#B366AA
RGBrgb(179, 102, 170)
HSLhsl(307, 34%, 55%)
HSVhsv(307, 43%, 70%)
CMYKcmyk(0%, 43%, 5%, 29.8%)
CIE-LABlab(54.02, 40.88, -23.30)
CIE-LCHlch(54.02, 47.05, 330.32°)
OKLaboklab(62.01% 0.116 -0.0632)
OKLCHoklch(62.01% 0.132 331.4)
XYZxyz(30.5972, 21.9904, 40.6553)
Luminance0.2199 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366AA #66B36F
analogous
#9566B3 #B366AA #B36683
triadic
#B366AA #AAB366 #66AAB3
tetradic
#B366AA #B39566 #66B36F #6683B3
square
#B366AA #B39566 #66B36F #6683B3
split-complementary
#B366AA #83B366 #66B395
monochromatic
#6A3564 #93498A #B366AA #C78FC1 #DCB8D7

Accessibility & contrast

On white

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

On black

5.40
#B366AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366AA
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366AA#FFFFFF#000000##000000
##B366AA1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#647AAC
Deuteranopia (green-blind)
#7885A8
Tritanopia (blue-blind)
#B96B80
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b366aa;
/* rgb */ color: rgb(179, 102, 170);
/* oklch */ color: oklch(62.0% 0.132 331.4);
Tailwind
colors: {
  custom: {
    50: '#cb94c3',
    500: '#b366aa',
    950: '#000000',
  },
}
SCSS
$custom: #b366aa;
$custom-light: #cb94c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b366aa",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 170
  },
  "hsl": {
    "h": 307.013,
    "s": 33.624,
    "l": 55.098
  },
  "oklch": {
    "l": 0.62013,
    "c": 0.13209,
    "h": 331.4
  },
  "luminance": 0.21989
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B366AA

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

Preview Lab → · Contrast checker → · Palette generator →

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