#B366C9#B366C9

#B366C9 is a light, vivid purple. Relative luminance 0.233; OKLCH L 63.5% C 0.163 H 318.4°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#B366C9
RGBrgb(179, 102, 201)
HSLhsl(287, 48%, 59%)
HSVhsv(287, 49%, 79%)
CMYKcmyk(10.9%, 49.3%, 0%, 21.2%)
CIE-LABlab(55.38, 46.84, -39.01)
CIE-LCHlch(55.38, 60.95, 320.21°)
OKLaboklab(63.48% 0.1217 -0.1081)
OKLCHoklch(63.48% 0.163 318.4)
XYZxyz(33.8830, 23.3047, 57.9604)
Luminance0.2330 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366C9 #7CC966
analogous
#8266C9 #B366C9 #C966AD
triadic
#B366C9 #C9B366 #66C9B3
tetradic
#B366C9 #C98266 #7CC966 #66ADC9
square
#B366C9 #C98266 #7CC966 #66ADC9
split-complementary
#B366C9 #ADC966 #66C982
monochromatic
#722F85 #993FB3 #B366C9 #C993D9 #E0C0E9

Accessibility & contrast

On white

3.71
#B366C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#B366C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366C9
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366C9#FFFFFF#000000##000000
##B366C91.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#547FCC
Deuteranopia (green-blind)
#6B87C6
Tritanopia (blue-blind)
#B3748E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b366c9;
/* rgb */ color: rgb(179, 102, 201);
/* oklch */ color: oklch(63.5% 0.163 318.4);
Tailwind
colors: {
  custom: {
    50: '#cc94da',
    500: '#b366c9',
    950: '#000000',
  },
}
SCSS
$custom: #b366c9;
$custom-light: #cc94da;
$custom-dark: #000000;
JSON
{
  "hex": "#b366c9",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 201
  },
  "hsl": {
    "h": 286.667,
    "s": 47.826,
    "l": 59.412
  },
  "oklch": {
    "l": 0.63481,
    "c": 0.16283,
    "h": 318.4
  },
  "luminance": 0.23303
}

Semantic roles & 50–950 ramp

primary
#B366C9
secondary
#BBD9B2
accent
#D7506E
background
#FCF9FD
surface
#F9F2FA
border
#D2CCD3
text
#140D15
muted
#827E83

Preview Lab

Preview with #B366C9

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

Preview Lab → · Contrast checker → · Palette generator →

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