#B366AF#B366AF

#B366AF is a light, vivid purple. Relative luminance 0.222; OKLCH L 62.2% C 0.137 H 329.0°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#B366AF
RGBrgb(179, 102, 175)
HSLhsl(303, 34%, 55%)
HSVhsv(303, 43%, 70%)
CMYKcmyk(0%, 43%, 2.2%, 29.8%)
CIE-LABlab(54.22, 41.79, -25.88)
CIE-LCHlch(54.22, 49.16, 328.23°)
OKLaboklab(62.23% 0.1171 -0.0705)
OKLCHoklch(62.23% 0.137 329)
XYZxyz(31.0792, 22.1832, 43.1939)
Luminance0.2218 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366AF #66B36A
analogous
#9066B3 #B366AF #B36688
triadic
#B366AF #AFB366 #66AFB3
tetradic
#B366AF #B39066 #66B36A #6688B3
square
#B366AF #B39066 #66B36A #6688B3
split-complementary
#B366AF #88B366 #66B390
monochromatic
#6A3567 #93498F #B366AF #C78FC4 #DCB8DA

Accessibility & contrast

On white

3.86
#B366AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#B366AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366AF
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366AF#FFFFFF#000000##000000
##B366AF1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#617BB2
Deuteranopia (green-blind)
#7685AD
Tritanopia (blue-blind)
#B86D82
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b366af;
/* rgb */ color: rgb(179, 102, 175);
/* oklch */ color: oklch(62.2% 0.137 329.0);
Tailwind
colors: {
  custom: {
    50: '#cb94c7',
    500: '#b366af',
    950: '#000000',
  },
}
SCSS
$custom: #b366af;
$custom-light: #cb94c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b366af",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 175
  },
  "hsl": {
    "h": 303.117,
    "s": 33.624,
    "l": 55.098
  },
  "oklch": {
    "l": 0.62233,
    "c": 0.13672,
    "h": 329
  },
  "luminance": 0.22182
}

Semantic roles & 50–950 ramp

primary
#B366AF
secondary
#AACBAC
accent
#CA645E
background
#FCF9FC
surface
#F9F2F8
border
#D2CCD1
text
#130D13
muted
#827E82

Preview Lab

Preview with #B366AF

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

Preview Lab → · Contrast checker → · Palette generator →

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