#B366C8#B366C8

#B366C8 is a light, vivid purple. Relative luminance 0.233; OKLCH L 63.4% C 0.162 H 318.7°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#B366C8
RGBrgb(179, 102, 200)
HSLhsl(287, 47%, 59%)
HSVhsv(287, 49%, 78%)
CMYKcmyk(10.5%, 49%, 0%, 21.6%)
CIE-LABlab(55.34, 46.63, -38.52)
CIE-LCHlch(55.34, 60.48, 320.44°)
OKLaboklab(63.43% 0.1216 -0.1067)
OKLCHoklch(63.43% 0.162 318.7)
XYZxyz(33.7657, 23.2578, 57.3429)
Luminance0.2326 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366C8 #7BC866
analogous
#8266C8 #B366C8 #C866AC
triadic
#B366C8 #C8B366 #66C8B3
tetradic
#B366C8 #C88266 #7BC866 #66ACC8
square
#B366C8 #C88266 #7BC866 #66ACC8
split-complementary
#B366C8 #ACC866 #66C882
monochromatic
#722F84 #9940B1 #B366C8 #C993D8 #E0C0E8

Accessibility & contrast

On white

3.72
#B366C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#B366C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366C8
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366C8#FFFFFF#000000##000000
##B366C81.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#557FCB
Deuteranopia (green-blind)
#6B87C5
Tritanopia (blue-blind)
#B3748E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b366c8;
/* rgb */ color: rgb(179, 102, 200);
/* oklch */ color: oklch(63.4% 0.162 318.7);
Tailwind
colors: {
  custom: {
    50: '#cc94d9',
    500: '#b366c8',
    950: '#000000',
  },
}
SCSS
$custom: #b366c8;
$custom-light: #cc94d9;
$custom-dark: #000000;
JSON
{
  "hex": "#b366c8",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 200
  },
  "hsl": {
    "h": 287.143,
    "s": 47.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.6343,
    "c": 0.16179,
    "h": 318.7
  },
  "luminance": 0.23257
}

Semantic roles & 50–950 ramp

primary
#B366C8
secondary
#BAD8B2
accent
#D7516E
background
#FCF9FD
surface
#F9F2FA
border
#D2CCD3
text
#140D14
muted
#827E83

Preview Lab

Preview with #B366C8

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

Preview Lab → · Contrast checker → · Palette generator →

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