#B366CB#B366CB

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

Color values

HEX#B366CB
RGBrgb(179, 102, 203)
HSLhsl(286, 49%, 60%)
HSVhsv(286, 50%, 80%)
CMYKcmyk(11.8%, 49.8%, 0%, 20.4%)
CIE-LABlab(55.48, 47.24, -40.00)
CIE-LCHlch(55.48, 61.90, 319.75°)
OKLaboklab(63.58% 0.122 -0.111)
OKLCHoklch(63.58% 0.165 317.7)
XYZxyz(34.1198, 23.3994, 59.2076)
Luminance0.2340 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B366CB #7ECB66
analogous
#8166CB #B366CB #CB66B0
triadic
#B366CB #CBB366 #66CBB3
tetradic
#B366CB #CB8166 #7ECB66 #66B0CB
square
#B366CB #CB8166 #7ECB66 #66B0CB
split-complementary
#B366CB #B0CB66 #66CB81
monochromatic
#732E88 #993EB6 #B366CB #CA94DB #E0C1EA

Accessibility & contrast

On white

3.70
#B366CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#B366CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B366CB
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B366CB#FFFFFF#000000##000000
##B366CB1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5380CE
Deuteranopia (green-blind)
#6A87C8
Tritanopia (blue-blind)
#B3758F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b366cb;
/* rgb */ color: rgb(179, 102, 203);
/* oklch */ color: oklch(63.6% 0.165 317.7);
Tailwind
colors: {
  custom: {
    50: '#cc94db',
    500: '#b366cb',
    950: '#000000',
  },
}
SCSS
$custom: #b366cb;
$custom-light: #cc94db;
$custom-dark: #000000;
JSON
{
  "hex": "#b366cb",
  "rgb": {
    "r": 179,
    "g": 102,
    "b": 203
  },
  "hsl": {
    "h": 285.743,
    "s": 49.268,
    "l": 59.804
  },
  "oklch": {
    "l": 0.63584,
    "c": 0.16493,
    "h": 317.7
  },
  "luminance": 0.23398
}

Semantic roles & 50–950 ramp

primary
#B366CB
secondary
#BCDAB3
accent
#D94F70
background
#FCF9FD
surface
#F9F2FB
border
#D2CCD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B366CB

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

Preview Lab → · Contrast checker → · Palette generator →

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