#B366B1#B366B1

#B366B1 is a light, vivid purple. Relative luminance 0.223; OKLCH L 62.3% C 0.139 H 328.0°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B366B1
RGBrgb(179, 102, 177)
HSLhsl(302, 34%, 55%)
HSVhsv(302, 43%, 70%)
CMYKcmyk(0%, 43%, 1.1%, 29.8%)
CIE-LABlab(54.30, 42.16, -26.91)
CIE-LCHlch(54.30, 50.02, 327.45°)
OKLaboklab(62.32% 0.1176 -0.0734)
OKLCHoklch(62.32% 0.139 328)
XYZxyz(31.2771, 22.2623, 44.2360)
Luminance0.2226 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366B1 #66B368
analogous
#8E66B3 #B366B1 #B3668B
triadic
#B366B1 #B1B366 #66B1B3
tetradic
#B366B1 #B38E66 #66B368 #668BB3
square
#B366B1 #B38E66 #66B368 #668BB3
split-complementary
#B366B1 #8BB366 #66B38E
monochromatic
#6A3569 #934991 #B366B1 #C78FC6 #DCB8DB

Accessibility & contrast

On white

3.85
#B366B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#B366B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366B1
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366B1#FFFFFF#000000##000000
##B366B11.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#617BB4
Deuteranopia (green-blind)
#7685AF
Tritanopia (blue-blind)
#B86D83
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b366b1;
/* rgb */ color: rgb(179, 102, 177);
/* oklch */ color: oklch(62.3% 0.139 328.0);
Tailwind
colors: {
  custom: {
    50: '#cb94c8',
    500: '#b366b1',
    950: '#000000',
  },
}
SCSS
$custom: #b366b1;
$custom-light: #cb94c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b366b1",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 177
  },
  "hsl": {
    "h": 301.558,
    "s": 33.624,
    "l": 55.098
  },
  "oklch": {
    "l": 0.62323,
    "c": 0.13863,
    "h": 328
  },
  "luminance": 0.22261
}

Semantic roles & 50–950 ramp

primary
#B366B1
secondary
#AACBAB
accent
#CA615E
background
#FCF9FC
surface
#F9F2F8
border
#D2CCD1
text
#130D13
muted
#827E82

Preview Lab

Preview with #B366B1

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

Preview Lab → · Contrast checker → · Palette generator →

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