#B366C2#B366C2

#B366C2 is a light, vivid purple. Relative luminance 0.230; OKLCH L 63.1% C 0.156 H 320.9°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#B366C2
RGBrgb(179, 102, 194)
HSLhsl(290, 43%, 58%)
HSVhsv(290, 47%, 76%)
CMYKcmyk(7.7%, 47.4%, 0%, 23.9%)
CIE-LABlab(55.05, 45.43, -35.53)
CIE-LCHlch(55.05, 57.67, 321.97°)
OKLaboklab(63.13% 0.1207 -0.0981)
OKLCHoklch(63.13% 0.156 320.9)
XYZxyz(33.0782, 22.9828, 53.7222)
Luminance0.2298 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366C2 #75C266
analogous
#8566C2 #B366C2 #C266A3
triadic
#B366C2 #C2B366 #66C2B3
tetradic
#B366C2 #C28566 #75C266 #66A3C2
square
#B366C2 #C28566 #75C266 #66A3C2
split-complementary
#B366C2 #A3C266 #66C285
monochromatic
#70317C #9743A8 #B366C2 #C992D3 #DEBEE5

Accessibility & contrast

On white

3.75
#B366C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#B366C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366C2
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366C2#FFFFFF#000000##000000
##B366C21.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#587EC5
Deuteranopia (green-blind)
#6E87BF
Tritanopia (blue-blind)
#B5728B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b366c2;
/* rgb */ color: rgb(179, 102, 194);
/* oklch */ color: oklch(63.1% 0.156 320.9);
Tailwind
colors: {
  custom: {
    50: '#cb94d5',
    500: '#b366c2',
    950: '#000000',
  },
}
SCSS
$custom: #b366c2;
$custom-light: #cb94d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b366c2",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 194
  },
  "hsl": {
    "h": 290.217,
    "s": 42.991,
    "l": 58.039
  },
  "oklch": {
    "l": 0.63128,
    "c": 0.15556,
    "h": 320.9
  },
  "luminance": 0.22981
}

Semantic roles & 50–950 ramp

primary
#B366C2
secondary
#B6D4B0
accent
#D3556A
background
#FCF9FD
surface
#F9F2FA
border
#D2CCD3
text
#140D14
muted
#827E83

Preview Lab

Preview with #B366C2

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

Preview Lab → · Contrast checker → · Palette generator →

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