#B866EE#B866EE

#B866EE is a light, highly saturated violet. Relative luminance 0.259; OKLCH L 66.1% C 0.204 H 309.8°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#B866EE
RGBrgb(184, 102, 238)
HSLhsl(276, 80%, 67%)
HSVhsv(276, 57%, 93%)
CMYKcmyk(22.7%, 57.1%, 0%, 6.7%)
CIE-LABlab(57.91, 55.95, -55.82)
CIE-LCHlch(57.91, 79.04, 315.07°)
OKLaboklab(66.1% 0.1306 -0.1569)
OKLCHoklch(66.1% 0.204 309.8)
XYZxyz(39.9482, 25.8669, 83.7607)
Luminance0.2587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B866EE #9CEE66
analogous
#7466EE #B866EE #EE66E0
triadic
#B866EE #EEB866 #66EEB8
tetradic
#B866EE #EE7466 #9CEE66 #66E0EE
square
#B866EE #EE7466 #9CEE66 #66E0EE
split-complementary
#B866EE #E0EE66 #66EE74
monochromatic
#7F16C4 #9E2FE8 #B866EE #D29DF4 #EBD4FA

Accessibility & contrast

On white

3.40
#B866EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#B866EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B866EE
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B866EE#FFFFFF#000000##000000
##B866EE1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3787F2
Deuteranopia (green-blind)
#578CEB
Tritanopia (blue-blind)
#B17FA1
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b866ee;
/* rgb */ color: rgb(184, 102, 238);
/* oklch */ color: oklch(66.1% 0.204 309.8);
Tailwind
colors: {
  custom: {
    50: '#d195f4',
    500: '#b866ee',
    950: '#000000',
  },
}
SCSS
$custom: #b866ee;
$custom-light: #d195f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b866ee",
  "rgb": {
    "r": 184,
    "g": 102,
    "b": 238
  },
  "hsl": {
    "h": 276.176,
    "s": 80,
    "l": 66.667
  },
  "oklch": {
    "l": 0.66095,
    "c": 0.20418,
    "h": 309.8
  },
  "luminance": 0.25866
}

Semantic roles & 50–950 ramp

primary
#B866EE
secondary
#D3EEC2
accent
#DC095D
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #B866EE

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

Preview Lab → · Contrast checker → · Palette generator →

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