#B366BC#B366BC

#B366BC is a light, vivid purple. Relative luminance 0.227; OKLCH L 62.8% C 0.149 H 323.2°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#B366BC
RGBrgb(179, 102, 188)
HSLhsl(294, 39%, 57%)
HSVhsv(294, 46%, 74%)
CMYKcmyk(4.8%, 45.7%, 0%, 26.3%)
CIE-LABlab(54.78, 44.25, -32.51)
CIE-LCHlch(54.78, 54.91, 323.69°)
OKLaboklab(62.83% 0.1197 -0.0894)
OKLCHoklch(62.83% 0.149 323.2)
XYZxyz(32.4180, 22.7187, 50.2447)
Luminance0.2272 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366BC #6FBC66
analogous
#8866BC #B366BC #BC669A
triadic
#B366BC #BCB366 #66BCB3
tetradic
#B366BC #BC8866 #6FBC66 #669ABC
square
#B366BC #BC8866 #6FBC66 #669ABC
split-complementary
#B366BC #9ABC66 #66BC88
monochromatic
#6E3375 #96469F #B366BC #C891CF #DDBBE1

Accessibility & contrast

On white

3.79
#B366BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#B366BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366BC
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366BC#FFFFFF#000000##000000
##B366BC1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7DBF
Deuteranopia (green-blind)
#7186B9
Tritanopia (blue-blind)
#B67088
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b366bc;
/* rgb */ color: rgb(179, 102, 188);
/* oklch */ color: oklch(62.8% 0.149 323.2);
Tailwind
colors: {
  custom: {
    50: '#cb94d0',
    500: '#b366bc',
    950: '#000000',
  },
}
SCSS
$custom: #b366bc;
$custom-light: #cb94d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b366bc",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 188
  },
  "hsl": {
    "h": 293.721,
    "s": 39.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.62835,
    "c": 0.14944,
    "h": 323.2
  },
  "luminance": 0.22717
}

Semantic roles & 50–950 ramp

primary
#B366BC
secondary
#B1D0AD
accent
#CF5965
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #B366BC

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

Preview Lab → · Contrast checker → · Palette generator →

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