#B366AC#B366AC

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

Color values

HEX#B366AC
RGBrgb(179, 102, 172)
HSLhsl(305, 34%, 55%)
HSVhsv(305, 43%, 70%)
CMYKcmyk(0%, 43%, 3.9%, 29.8%)
CIE-LABlab(54.10, 41.24, -24.34)
CIE-LCHlch(54.10, 47.89, 329.46°)
OKLaboklab(62.1% 0.1165 -0.0661)
OKLCHoklch(62.1% 0.134 330.4)
XYZxyz(30.7878, 22.0666, 41.6593)
Luminance0.2207 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366AC #66B36D
analogous
#9466B3 #B366AC #B36685
triadic
#B366AC #ACB366 #66ACB3
tetradic
#B366AC #B39466 #66B36D #6685B3
square
#B366AC #B39466 #66B36D #6685B3
split-complementary
#B366AC #85B366 #66B394
monochromatic
#6A3565 #93498C #B366AC #C78FC2 #DCB8D8

Accessibility & contrast

On white

3.88
#B366AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B366AC#FFFFFF#000000##000000
##B366AC1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#637BAE
Deuteranopia (green-blind)
#7785AA
Tritanopia (blue-blind)
#B86C81
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #b366ac;
/* rgb */ color: rgb(179, 102, 172);
/* oklch */ color: oklch(62.1% 0.134 330.4);
Tailwind
colors: {
  custom: {
    50: '#cb94c5',
    500: '#b366ac',
    950: '#000000',
  },
}
SCSS
$custom: #b366ac;
$custom-light: #cb94c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b366ac",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 172
  },
  "hsl": {
    "h": 305.455,
    "s": 33.624,
    "l": 55.098
  },
  "oklch": {
    "l": 0.62101,
    "c": 0.13393,
    "h": 330.4
  },
  "luminance": 0.22065
}

Semantic roles & 50–950 ramp

primary
#B366AC
secondary
#AACBAD
accent
#CA685E
background
#FCF9FC
surface
#F9F1F8
border
#D2CBD1
text
#130D12
muted
#827E81

Preview Lab

Preview with #B366AC

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

Preview Lab → · Contrast checker → · Palette generator →

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