#B882EC#B882EC

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

Color values

HEX#B882EC
RGBrgb(184, 130, 236)
HSLhsl(271, 74%, 72%)
HSVhsv(271, 45%, 93%)
CMYKcmyk(22%, 44.9%, 0%, 7.5%)
CIE-LABlab(63.52, 40.75, -45.82)
CIE-LCHlch(63.52, 61.32, 311.65°)
OKLaboklab(70.21% 0.0937 -0.1279)
OKLCHoklch(70.21% 0.159 306.2)
XYZxyz(42.8870, 32.2121, 83.2988)
Luminance0.3221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B882EC #B6EC82
analogous
#8382EC #B882EC #EC82EB
triadic
#B882EC #ECB882 #82ECB8
tetradic
#B882EC #EC8382 #B6EC82 #82EBEC
square
#B882EC #EC8382 #B6EC82 #82EBEC
split-complementary
#B882EC #EBEC82 #82EC83
monochromatic
#7B20D3 #9A4DE4 #B882EC #D6B7F4 #F0E4FB

Accessibility & contrast

On white

2.82
#B882EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#B882EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B882EC
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B882EC#FFFFFF#000000##000000
##B882EC1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6798F0
Deuteranopia (green-blind)
#759AE9
Tritanopia (blue-blind)
#B094AC
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b882ec;
/* rgb */ color: rgb(184, 130, 236);
/* oklch */ color: oklch(70.2% 0.159 306.2);
Tailwind
colors: {
  custom: {
    50: '#cfa7f2',
    500: '#b882ec',
    950: '#000000',
  },
}
SCSS
$custom: #b882ec;
$custom-light: #cfa7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b882ec",
  "rgb": {
    "r": 184,
    "g": 130,
    "b": 236
  },
  "hsl": {
    "h": 270.566,
    "s": 73.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.70214,
    "c": 0.15854,
    "h": 306.2
  },
  "luminance": 0.32212
}

Semantic roles & 50–950 ramp

primary
#B882EC
secondary
#E5F2D7
accent
#D61071
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B882EC

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

Preview Lab → · Contrast checker → · Palette generator →

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