#B882EB#B882EB

#B882EB is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.2% C 0.157 H 306.5°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#B882EB
RGBrgb(184, 130, 235)
HSLhsl(271, 72%, 72%)
HSVhsv(271, 45%, 92%)
CMYKcmyk(21.7%, 44.7%, 0%, 7.8%)
CIE-LABlab(63.47, 40.52, -45.34)
CIE-LCHlch(63.47, 60.81, 311.79°)
OKLaboklab(70.16% 0.0936 -0.1265)
OKLCHoklch(70.16% 0.157 306.5)
XYZxyz(42.7422, 32.1541, 82.5358)
Luminance0.3215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B882EB #B5EB82
analogous
#8482EB #B882EB #EB82EA
triadic
#B882EB #EBB882 #82EBB8
tetradic
#B882EB #EB8482 #B5EB82 #82EAEB
square
#B882EB #EB8482 #B5EB82 #82EAEB
split-complementary
#B882EB #EAEB82 #82EB84
monochromatic
#7C21D1 #9A4DE3 #B882EB #D6B7F3 #F0E5FB

Accessibility & contrast

On white

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

On black

7.43
#B882EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B882EB
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B882EB#FFFFFF#000000##000000
##B882EB1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898EF
Deuteranopia (green-blind)
#759AE8
Tritanopia (blue-blind)
#B093AB
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b882eb;
/* rgb */ color: rgb(184, 130, 235);
/* oklch */ color: oklch(70.2% 0.157 306.5);
Tailwind
colors: {
  custom: {
    50: '#cfa7f2',
    500: '#b882eb',
    950: '#000000',
  },
}
SCSS
$custom: #b882eb;
$custom-light: #cfa7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b882eb",
  "rgb": {
    "r": 184,
    "g": 130,
    "b": 235
  },
  "hsl": {
    "h": 270.857,
    "s": 72.414,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70163,
    "c": 0.15734,
    "h": 306.5
  },
  "luminance": 0.32154
}

Semantic roles & 50–950 ramp

primary
#B882EB
secondary
#E4F2D7
accent
#D41170
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B882EB

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

Preview Lab → · Contrast checker → · Palette generator →

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