#B866CB#B866CB

#B866CB is a light, vivid purple. Relative luminance 0.240; OKLCH L 64.2% C 0.167 H 319.8°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#B866CB
RGBrgb(184, 102, 203)
HSLhsl(289, 49%, 60%)
HSVhsv(289, 50%, 80%)
CMYKcmyk(9.4%, 49.8%, 0%, 20.4%)
CIE-LABlab(56.09, 48.64, -38.99)
CIE-LCHlch(56.09, 62.34, 321.28°)
OKLaboklab(64.17% 0.128 -0.108)
OKLCHoklch(64.17% 0.167 319.8)
XYZxyz(35.2967, 24.0063, 59.2627)
Luminance0.2401 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B866CB #79CB66
analogous
#8666CB #B866CB #CB66AB
triadic
#B866CB #CBB866 #66CBB8
tetradic
#B866CB #CB8666 #79CB66 #66ABCB
square
#B866CB #CB8666 #79CB66 #66ABCB
split-complementary
#B866CB #ABCB66 #66CB86
monochromatic
#772E88 #9F3EB6 #B866CB #CD94DB #E2C1EA

Accessibility & contrast

On white

3.62
#B866CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#B866CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B866CB
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B866CB#FFFFFF#000000##000000
##B866CB1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5581CE
Deuteranopia (green-blind)
#6D89C8
Tritanopia (blue-blind)
#B9748F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b866cb;
/* rgb */ color: rgb(184, 102, 203);
/* oklch */ color: oklch(64.2% 0.167 319.8);
Tailwind
colors: {
  custom: {
    50: '#cf94db',
    500: '#b866cb',
    950: '#000000',
  },
}
SCSS
$custom: #b866cb;
$custom-light: #cf94db;
$custom-dark: #000000;
JSON
{
  "hex": "#b866cb",
  "rgb": {
    "r": 184,
    "g": 102,
    "b": 203
  },
  "hsl": {
    "h": 288.713,
    "s": 49.268,
    "l": 59.804
  },
  "oklch": {
    "l": 0.6417,
    "c": 0.16743,
    "h": 319.8
  },
  "luminance": 0.24005
}

Semantic roles & 50–950 ramp

primary
#B866CB
secondary
#BADAB3
accent
#D94F69
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #B866CB

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

Preview Lab → · Contrast checker → · Palette generator →

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