#B866EA#B866EA

#B866EA is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.9% C 0.200 H 310.7°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#B866EA
RGBrgb(184, 102, 234)
HSLhsl(277, 76%, 66%)
HSVhsv(277, 56%, 92%)
CMYKcmyk(21.4%, 56.4%, 0%, 8.2%)
CIE-LABlab(57.69, 55.09, -53.95)
CIE-LCHlch(57.69, 77.10, 315.60°)
OKLaboklab(65.86% 0.1305 -0.1515)
OKLCHoklch(65.86% 0.2 310.7)
XYZxyz(39.3671, 25.6344, 80.7001)
Luminance0.2563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B866EA #98EA66
analogous
#7666EA #B866EA #EA66DA
triadic
#B866EA #EAB866 #66EAB8
tetradic
#B866EA #EA7666 #98EA66 #66DAEA
square
#B866EA #EA7666 #98EA66 #66DAEA
split-complementary
#B866EA #DAEA66 #66EA76
monochromatic
#7E1ABC #9F30E3 #B866EA #D19CF1 #EAD2F9

Accessibility & contrast

On white

3.43
#B866EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#B866EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B866EA
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B866EA#FFFFFF#000000##000000
##B866EA1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B87EE
Deuteranopia (green-blind)
#5A8CE7
Tritanopia (blue-blind)
#B27E9E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #b866ea;
/* rgb */ color: rgb(184, 102, 234);
/* oklch */ color: oklch(65.9% 0.200 310.7);
Tailwind
colors: {
  custom: {
    50: '#d095f1',
    500: '#b866ea',
    950: '#000000',
  },
}
SCSS
$custom: #b866ea;
$custom-light: #d095f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b866ea",
  "rgb": {
    "r": 184,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 277.273,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.65861,
    "c": 0.19992,
    "h": 310.7
  },
  "luminance": 0.25634
}

Semantic roles & 50–950 ramp

primary
#B866EA
secondary
#D1ECC0
accent
#D80D5A
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B866EA

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

Preview Lab → · Contrast checker → · Palette generator →

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