#B366B5#B366B5

#B366B5 is a light, vivid purple. Relative luminance 0.224; OKLCH L 62.5% C 0.142 H 326.2°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#B366B5
RGBrgb(179, 102, 181)
HSLhsl(298, 35%, 55%)
HSVhsv(298, 44%, 71%)
CMYKcmyk(1.1%, 43.6%, 0%, 29%)
CIE-LABlab(54.47, 42.91, -28.96)
CIE-LCHlch(54.47, 51.77, 325.98°)
OKLaboklab(62.51% 0.1184 -0.0793)
OKLCHoklch(62.51% 0.142 326.2)
XYZxyz(31.6816, 22.4241, 46.3666)
Luminance0.2242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366B5 #68B566
analogous
#8B66B5 #B366B5 #B5668F
triadic
#B366B5 #B5B366 #66B5B3
tetradic
#B366B5 #B58B66 #68B566 #668FB5
square
#B366B5 #B58B66 #68B566 #668FB5
split-complementary
#B366B5 #8FB566 #66B58B
monochromatic
#6B346C #944895 #B366B5 #C78FC9 #DCB8DD

Accessibility & contrast

On white

3.83
#B366B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#B366B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366B5
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366B5#FFFFFF#000000##000000
##B366B51.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7CB8
Deuteranopia (green-blind)
#7486B3
Tritanopia (blue-blind)
#B76E85
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b366b5;
/* rgb */ color: rgb(179, 102, 181);
/* oklch */ color: oklch(62.5% 0.142 326.2);
Tailwind
colors: {
  custom: {
    50: '#cb94cb',
    500: '#b366b5',
    950: '#000000',
  },
}
SCSS
$custom: #b366b5;
$custom-light: #cb94cb;
$custom-dark: #000000;
JSON
{
  "hex": "#b366b5",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 181
  },
  "hsl": {
    "h": 298.481,
    "s": 34.802,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62506,
    "c": 0.14249,
    "h": 326.2
  },
  "luminance": 0.22423
}

Semantic roles & 50–950 ramp

primary
#B366B5
secondary
#ACCCAB
accent
#CB5D60
background
#FCF9FC
surface
#F9F2F8
border
#D2CCD1
text
#130D13
muted
#827E82

Preview Lab

Preview with #B366B5

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

Preview Lab → · Contrast checker → · Palette generator →

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