#B366B7#B366B7

#B366B7 is a light, vivid purple. Relative luminance 0.225; OKLCH L 62.6% C 0.144 H 325.3°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#B366B7
RGBrgb(179, 102, 183)
HSLhsl(297, 36%, 56%)
HSVhsv(297, 44%, 72%)
CMYKcmyk(2.2%, 44.3%, 0%, 28.2%)
CIE-LABlab(54.56, 43.29, -29.98)
CIE-LCHlch(54.56, 52.66, 325.30°)
OKLaboklab(62.6% 0.1188 -0.0822)
OKLCHoklch(62.6% 0.144 325.3)
XYZxyz(31.8883, 22.5068, 47.4551)
Luminance0.2251 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366B7 #6AB766
analogous
#8A66B7 #B366B7 #B76692
triadic
#B366B7 #B7B366 #66B7B3
tetradic
#B366B7 #B78A66 #6AB766 #6692B7
square
#B366B7 #B78A66 #6AB766 #6692B7
split-complementary
#B366B7 #92B766 #66B78A
monochromatic
#6C346F #944898 #B366B7 #C890CB #DCB9DE

Accessibility & contrast

On white

3.82
#B366B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#B366B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366B7
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366B7#FFFFFF#000000##000000
##B366B71.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7CBA
Deuteranopia (green-blind)
#7386B4
Tritanopia (blue-blind)
#B76F86
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b366b7;
/* rgb */ color: rgb(179, 102, 183);
/* oklch */ color: oklch(62.6% 0.144 325.3);
Tailwind
colors: {
  custom: {
    50: '#cb94cd',
    500: '#b366b7',
    950: '#000000',
  },
}
SCSS
$custom: #b366b7;
$custom-light: #cb94cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b366b7",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 183
  },
  "hsl": {
    "h": 297.037,
    "s": 36,
    "l": 55.882
  },
  "oklch": {
    "l": 0.62599,
    "c": 0.14445,
    "h": 325.3
  },
  "luminance": 0.22505
}

Semantic roles & 50–950 ramp

primary
#B366B7
secondary
#ADCDAC
accent
#CC5C61
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#130D13
muted
#827E82

Preview Lab

Preview with #B366B7

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

Preview Lab → · Contrast checker → · Palette generator →

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