#B366BA#B366BA

#B366BA is a light, vivid purple. Relative luminance 0.226; OKLCH L 62.7% C 0.147 H 324.1°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#B366BA
RGBrgb(179, 102, 186)
HSLhsl(295, 38%, 56%)
HSVhsv(295, 45%, 73%)
CMYKcmyk(3.8%, 45.2%, 0%, 27.1%)
CIE-LABlab(54.69, 43.86, -31.50)
CIE-LCHlch(54.69, 54.01, 324.31°)
OKLaboklab(62.74% 0.1194 -0.0865)
OKLCHoklch(62.74% 0.147 324.1)
XYZxyz(32.2039, 22.6330, 49.1171)
Luminance0.2263 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366BA #6DBA66
analogous
#8966BA #B366BA #BA6697
triadic
#B366BA #BAB366 #66BAB3
tetradic
#B366BA #BA8966 #6DBA66 #6697BA
square
#B366BA #BA8966 #6DBA66 #6697BA
split-complementary
#B366BA #97BA66 #66BA89
monochromatic
#6D3372 #95469C #B366BA #C890CD #DDBAE0

Accessibility & contrast

On white

3.80
#B366BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B366BA#FFFFFF#000000##000000
##B366BA1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7DBD
Deuteranopia (green-blind)
#7286B7
Tritanopia (blue-blind)
#B67087
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b366ba;
/* rgb */ color: rgb(179, 102, 186);
/* oklch */ color: oklch(62.7% 0.147 324.1);
Tailwind
colors: {
  custom: {
    50: '#cb94cf',
    500: '#b366ba',
    950: '#000000',
  },
}
SCSS
$custom: #b366ba;
$custom-light: #cb94cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b366ba",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 186
  },
  "hsl": {
    "h": 295,
    "s": 37.838,
    "l": 56.471
  },
  "oklch": {
    "l": 0.6274,
    "c": 0.14743,
    "h": 324.1
  },
  "luminance": 0.22632
}

Semantic roles & 50–950 ramp

primary
#B366BA
secondary
#B0CFAD
accent
#CE5A64
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#130D14
muted
#827E82

Preview Lab

Preview with #B366BA

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

Preview Lab → · Contrast checker → · Palette generator →

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