#B882EA#B882EA

#B882EA is a light, vivid violet. Relative luminance 0.321; OKLCH L 70.1% C 0.156 H 306.7°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#B882EA
RGBrgb(184, 130, 234)
HSLhsl(271, 71%, 71%)
HSVhsv(271, 44%, 92%)
CMYKcmyk(21.4%, 44.4%, 0%, 8.2%)
CIE-LABlab(63.42, 40.30, -44.86)
CIE-LCHlch(63.42, 60.30, 311.93°)
OKLaboklab(70.11% 0.0934 -0.1251)
OKLCHoklch(70.11% 0.156 306.7)
XYZxyz(42.5981, 32.0965, 81.7771)
Luminance0.3210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B882EA #B4EA82
analogous
#8482EA #B882EA #EA82E8
triadic
#B882EA #EAB882 #82EAB8
tetradic
#B882EA #EA8482 #B4EA82 #82E8EA
square
#B882EA #EA8482 #B4EA82 #82E8EA
split-complementary
#B882EA #E8EA82 #82EA84
monochromatic
#7C23CF #9A4EE1 #B882EA #D6B6F3 #F0E5FB

Accessibility & contrast

On white

2.83
#B882EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#B882EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B882EA
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B882EA#FFFFFF#000000##000000
##B882EA1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898EE
Deuteranopia (green-blind)
#769AE7
Tritanopia (blue-blind)
#B193AB
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b882ea;
/* rgb */ color: rgb(184, 130, 234);
/* oklch */ color: oklch(70.1% 0.156 306.7);
Tailwind
colors: {
  custom: {
    50: '#cfa7f1',
    500: '#b882ea',
    950: '#000000',
  },
}
SCSS
$custom: #b882ea;
$custom-light: #cfa7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b882ea",
  "rgb": {
    "r": 184,
    "g": 130,
    "b": 234
  },
  "hsl": {
    "h": 271.154,
    "s": 71.233,
    "l": 71.373
  },
  "oklch": {
    "l": 0.70111,
    "c": 0.15614,
    "h": 306.7
  },
  "luminance": 0.32096
}

Semantic roles & 50–950 ramp

primary
#B882EA
secondary
#E3F1D6
accent
#D3126F
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B882EA

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

Preview Lab → · Contrast checker → · Palette generator →

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