#B866CE#B866CE

#B866CE is a light, vivid purple. Relative luminance 0.241; OKLCH L 64.3% C 0.171 H 318.8°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#B866CE
RGBrgb(184, 102, 206)
HSLhsl(287, 51%, 60%)
HSVhsv(287, 50%, 81%)
CMYKcmyk(10.7%, 50.5%, 0%, 19.2%)
CIE-LABlab(56.24, 49.24, -40.47)
CIE-LCHlch(56.24, 63.74, 320.58°)
OKLaboklab(64.32% 0.1283 -0.1122)
OKLCHoklch(64.32% 0.171 318.8)
XYZxyz(35.6576, 24.1506, 61.1638)
Luminance0.2415 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B866CE #7CCE66
analogous
#8466CE #B866CE #CE66B0
triadic
#B866CE #CEB866 #66CEB8
tetradic
#B866CE #CE8466 #7CCE66 #66B0CE
square
#B866CE #CE8466 #7CCE66 #66B0CE
split-complementary
#B866CE #B0CE66 #66CE84
monochromatic
#782D8D #A03CBB #B866CE #CE94DD #E3C3EC

Accessibility & contrast

On white

3.60
#B866CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#B866CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B866CE
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B866CE#FFFFFF#000000##000000
##B866CE1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5381D2
Deuteranopia (green-blind)
#6C8ACB
Tritanopia (blue-blind)
#B87591
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b866ce;
/* rgb */ color: rgb(184, 102, 206);
/* oklch */ color: oklch(64.3% 0.171 318.8);
Tailwind
colors: {
  custom: {
    50: '#cf94dd',
    500: '#b866ce',
    950: '#000000',
  },
}
SCSS
$custom: #b866ce;
$custom-light: #cf94dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b866ce",
  "rgb": {
    "r": 184,
    "g": 102,
    "b": 206
  },
  "hsl": {
    "h": 287.308,
    "s": 51.485,
    "l": 60.392
  },
  "oklch": {
    "l": 0.64324,
    "c": 0.1705,
    "h": 318.8
  },
  "luminance": 0.24149
}

Semantic roles & 50–950 ramp

primary
#B866CE
secondary
#BCDCB4
accent
#BF2747
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #B866CE

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

Preview Lab → · Contrast checker → · Palette generator →

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