#B866CC#B866CC

#B866CC is a light, vivid purple. Relative luminance 0.241; OKLCH L 64.2% C 0.168 H 319.5°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#B866CC
RGBrgb(184, 102, 204)
HSLhsl(288, 50%, 60%)
HSVhsv(288, 50%, 80%)
CMYKcmyk(9.8%, 50%, 0%, 20%)
CIE-LABlab(56.14, 48.84, -39.49)
CIE-LCHlch(56.14, 62.81, 321.04°)
OKLaboklab(64.22% 0.1281 -0.1094)
OKLCHoklch(64.22% 0.168 319.5)
XYZxyz(35.4162, 24.0541, 59.8924)
Luminance0.2405 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B866CC #7ACC66
analogous
#8566CC #B866CC #CC66AD
triadic
#B866CC #CCB866 #66CCB8
tetradic
#B866CC #CC8566 #7ACC66 #66ADCC
square
#B866CC #CC8566 #7ACC66 #66ADCC
split-complementary
#B866CC #ADCC66 #66CC85
monochromatic
#782E8A #A03DB8 #B866CC #CD94DB #E3C2EB

Accessibility & contrast

On white

3.61
#B866CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#B866CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B866CC
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B866CC#FFFFFF#000000##000000
##B866CC1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5481CF
Deuteranopia (green-blind)
#6D8AC9
Tritanopia (blue-blind)
#B97490
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b866cc;
/* rgb */ color: rgb(184, 102, 204);
/* oklch */ color: oklch(64.2% 0.168 319.5);
Tailwind
colors: {
  custom: {
    50: '#cf94dc',
    500: '#b866cc',
    950: '#000000',
  },
}
SCSS
$custom: #b866cc;
$custom-light: #cf94dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b866cc",
  "rgb": {
    "r": 184,
    "g": 102,
    "b": 204
  },
  "hsl": {
    "h": 288.235,
    "s": 50,
    "l": 60
  },
  "oklch": {
    "l": 0.64221,
    "c": 0.16845,
    "h": 319.5
  },
  "luminance": 0.24053
}

Semantic roles & 50–950 ramp

primary
#B866CC
secondary
#BBDBB3
accent
#DA4E6A
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #B866CC

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

Preview Lab → · Contrast checker → · Palette generator →

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