#B366BB#B366BB

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

Color values

HEX#B366BB
RGBrgb(179, 102, 187)
HSLhsl(294, 38%, 57%)
HSVhsv(294, 45%, 73%)
CMYKcmyk(4.3%, 45.5%, 0%, 26.7%)
CIE-LABlab(54.74, 44.06, -32.01)
CIE-LCHlch(54.74, 54.46, 324.00°)
OKLaboklab(62.79% 0.1196 -0.088)
OKLCHoklch(62.79% 0.148 323.6)
XYZxyz(32.3105, 22.6757, 49.6790)
Luminance0.2267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366BB #6EBB66
analogous
#8966BB #B366BB #BB6699
triadic
#B366BB #BBB366 #66BBB3
tetradic
#B366BB #BB8966 #6EBB66 #6699BB
square
#B366BB #BB8966 #6EBB66 #6699BB
split-complementary
#B366BB #99BB66 #66BB89
monochromatic
#6D3373 #95469E #B366BB #C890CE #DDBBE1

Accessibility & contrast

On white

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

On black

5.53
#B366BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366BB
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366BB#FFFFFF#000000##000000
##B366BB1.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b366bb;
/* rgb */ color: rgb(179, 102, 187);
/* oklch */ color: oklch(62.8% 0.148 323.6);
Tailwind
colors: {
  custom: {
    50: '#cb94cf',
    500: '#b366bb',
    950: '#000000',
  },
}
SCSS
$custom: #b366bb;
$custom-light: #cb94cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b366bb",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 187
  },
  "hsl": {
    "h": 294.353,
    "s": 38.462,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62787,
    "c": 0.14843,
    "h": 323.6
  },
  "luminance": 0.22674
}

Semantic roles & 50–950 ramp

primary
#B366BB
secondary
#B0D0AD
accent
#CE5964
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #B366BB

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

Preview Lab → · Contrast checker → · Palette generator →

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