#B366CC#B366CC

#B366CC is a light, vivid purple. Relative luminance 0.234; OKLCH L 63.6% C 0.166 H 317.4°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#B366CC
RGBrgb(179, 102, 204)
HSLhsl(285, 50%, 60%)
HSVhsv(285, 50%, 80%)
CMYKcmyk(12.3%, 50%, 0%, 20%)
CIE-LABlab(55.53, 47.45, -40.49)
CIE-LCHlch(55.53, 62.38, 319.52°)
OKLaboklab(63.64% 0.1221 -0.1124)
OKLCHoklch(63.64% 0.166 317.4)
XYZxyz(34.2393, 23.4472, 59.8372)
Luminance0.2345 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366CC #7FCC66
analogous
#8066CC #B366CC #CC66B2
triadic
#B366CC #CCB366 #66CCB3
tetradic
#B366CC #CC8066 #7FCC66 #66B2CC
square
#B366CC #CC8066 #7FCC66 #66B2CC
split-complementary
#B366CC #B2CC66 #66CC80
monochromatic
#732E8A #9A3DB8 #B366CC #CA94DB #E1C2EB

Accessibility & contrast

On white

3.69
#B366CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#B366CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366CC
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366CC#FFFFFF#000000##000000
##B366CC1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5280CF
Deuteranopia (green-blind)
#6988C9
Tritanopia (blue-blind)
#B27590
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b366cc;
/* rgb */ color: rgb(179, 102, 204);
/* oklch */ color: oklch(63.6% 0.166 317.4);
Tailwind
colors: {
  custom: {
    50: '#cc94dc',
    500: '#b366cc',
    950: '#000000',
  },
}
SCSS
$custom: #b366cc;
$custom-light: #cc94dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b366cc",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 204
  },
  "hsl": {
    "h": 285.294,
    "s": 50,
    "l": 60
  },
  "oklch": {
    "l": 0.63636,
    "c": 0.16599,
    "h": 317.4
  },
  "luminance": 0.23446
}

Semantic roles & 50–950 ramp

primary
#B366CC
secondary
#BDDBB3
accent
#DA4E70
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B366CC

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

Preview Lab → · Contrast checker → · Palette generator →

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