#B366B4#B366B4

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

Color values

HEX#B366B4
RGBrgb(179, 102, 180)
HSLhsl(299, 34%, 55%)
HSVhsv(299, 43%, 71%)
CMYKcmyk(0.6%, 43.3%, 0%, 29.4%)
CIE-LABlab(54.43, 42.72, -28.45)
CIE-LCHlch(54.43, 51.33, 326.34°)
OKLaboklab(62.46% 0.1182 -0.0778)
OKLCHoklch(62.46% 0.142 326.6)
XYZxyz(31.5794, 22.3832, 45.8282)
Luminance0.2238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366B4 #67B466
analogous
#8C66B4 #B366B4 #B4668E
triadic
#B366B4 #B4B366 #66B4B3
tetradic
#B366B4 #B48C66 #67B466 #668EB4
square
#B366B4 #B48C66 #67B466 #668EB4
split-complementary
#B366B4 #8EB466 #66B48C
monochromatic
#6A346B #934994 #B366B4 #C78FC8 #DCB8DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B366B4#FFFFFF#000000##000000
##B366B41.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)
#5F7CB7
Deuteranopia (green-blind)
#7486B2
Tritanopia (blue-blind)
#B76E85
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b366b4;
/* rgb */ color: rgb(179, 102, 180);
/* oklch */ color: oklch(62.5% 0.142 326.6);
Tailwind
colors: {
  custom: {
    50: '#cb94ca',
    500: '#b366b4',
    950: '#000000',
  },
}
SCSS
$custom: #b366b4;
$custom-light: #cb94ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b366b4",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 180
  },
  "hsl": {
    "h": 299.231,
    "s": 34.211,
    "l": 55.294
  },
  "oklch": {
    "l": 0.6246,
    "c": 0.14151,
    "h": 326.6
  },
  "luminance": 0.22382
}

Semantic roles & 50–950 ramp

primary
#B366B4
secondary
#ABCBAB
accent
#CA5E5F
background
#FCF9FC
surface
#F9F2F8
border
#D2CCD1
text
#130D13
muted
#827E82

Preview Lab

Preview with #B366B4

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

Preview Lab → · Contrast checker → · Palette generator →

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