#B366B3#B366B3

#B366B3 is a light, vivid purple. Relative luminance 0.223; OKLCH L 62.4% C 0.141 H 327.1°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#B366B3
RGBrgb(179, 102, 179)
HSLhsl(300, 34%, 55%)
HSVhsv(300, 43%, 70%)
CMYKcmyk(0%, 43%, 0%, 29.8%)
CIE-LABlab(54.39, 42.53, -27.94)
CIE-LCHlch(54.39, 50.89, 326.70°)
OKLaboklab(62.41% 0.118 -0.0763)
OKLCHoklch(62.41% 0.141 327.1)
XYZxyz(31.4779, 22.3426, 45.2936)
Luminance0.2234 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366B3 #66B366
analogous
#8C66B3 #B366B3 #B3668C
triadic
#B366B3 #B3B366 #66B3B3
tetradic
#B366B3 #B38C66 #66B366 #668CB3
square
#B366B3 #B38C66 #66B366 #668CB3
split-complementary
#B366B3 #8CB366 #66B38C
monochromatic
#6A356A #934993 #B366B3 #C78FC7 #DCB8DC

Accessibility & contrast

On white

3.84
#B366B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#B366B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366B3
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366B3#FFFFFF#000000##000000
##B366B31.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#607CB6
Deuteranopia (green-blind)
#7586B1
Tritanopia (blue-blind)
#B76E84
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b366b3;
/* rgb */ color: rgb(179, 102, 179);
/* oklch */ color: oklch(62.4% 0.141 327.1);
Tailwind
colors: {
  custom: {
    50: '#cb94ca',
    500: '#b366b3',
    950: '#000000',
  },
}
SCSS
$custom: #b366b3;
$custom-light: #cb94ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b366b3",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 179
  },
  "hsl": {
    "h": 300,
    "s": 33.624,
    "l": 55.098
  },
  "oklch": {
    "l": 0.62414,
    "c": 0.14055,
    "h": 327.1
  },
  "luminance": 0.22341
}

Semantic roles & 50–950 ramp

primary
#B366B3
secondary
#AACBAA
accent
#CA5E5E
background
#FCF9FC
surface
#F9F2F8
border
#D2CCD1
text
#130D13
muted
#827E82

Preview Lab

Preview with #B366B3

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

Preview Lab → · Contrast checker → · Palette generator →

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