#B886EA#B886EA

#B886EA is a light, vivid violet. Relative luminance 0.332; OKLCH L 70.8% C 0.150 H 306.0°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#B886EA
RGBrgb(184, 134, 234)
HSLhsl(270, 70%, 72%)
HSVhsv(270, 43%, 92%)
CMYKcmyk(21.4%, 42.7%, 0%, 8.2%)
CIE-LABlab(64.31, 38.10, -43.47)
CIE-LCHlch(64.31, 57.80, 311.23°)
OKLaboklab(70.78% 0.0879 -0.1211)
OKLCHoklch(70.78% 0.15 306)
XYZxyz(43.1405, 33.1814, 81.9579)
Luminance0.3318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B886EA #B8EA86
analogous
#8686EA #B886EA #EA86EA
triadic
#B886EA #EAB886 #86EAB8
tetradic
#B886EA #EA8686 #B8EA86 #86EAEA
square
#B886EA #EA8686 #B8EA86 #86EAEA
split-complementary
#B886EA #EAEA86 #86EA86
monochromatic
#7B24D1 #9952E1 #B886EA #D7BAF3 #F0E5FA

Accessibility & contrast

On white

2.75
#B886EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#B886EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B886EA
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B886EA#FFFFFF#000000##000000
##B886EA1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9AEE
Deuteranopia (green-blind)
#7A9CE7
Tritanopia (blue-blind)
#B096AD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b886ea;
/* rgb */ color: rgb(184, 134, 234);
/* oklch */ color: oklch(70.8% 0.150 306.0);
Tailwind
colors: {
  custom: {
    50: '#cfaaf1',
    500: '#b886ea',
    950: '#000000',
  },
}
SCSS
$custom: #b886ea;
$custom-light: #cfaaf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b886ea",
  "rgb": {
    "r": 184,
    "g": 134,
    "b": 234
  },
  "hsl": {
    "h": 270,
    "s": 70.423,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70776,
    "c": 0.14963,
    "h": 306
  },
  "luminance": 0.33181
}

Semantic roles & 50–950 ramp

primary
#B886EA
secondary
#E6F2D9
accent
#D21373
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #B886EA

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

Preview Lab → · Contrast checker → · Palette generator →

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