#B882EF#B882EF

#B882EF is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.4% C 0.162 H 305.5°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#B882EF
RGBrgb(184, 130, 239)
HSLhsl(270, 77%, 72%)
HSVhsv(270, 46%, 94%)
CMYKcmyk(23%, 45.6%, 0%, 6.3%)
CIE-LABlab(63.66, 41.43, -47.25)
CIE-LCHlch(63.66, 62.84, 311.25°)
OKLaboklab(70.37% 0.0941 -0.132)
OKLCHoklch(70.37% 0.162 305.5)
XYZxyz(43.3266, 32.3879, 85.6136)
Luminance0.3239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B882EF #B9EF82
analogous
#8282EF #B882EF #EF82EF
triadic
#B882EF #EFB882 #82EFB8
tetradic
#B882EF #EF8282 #B9EF82 #82EFEF
square
#B882EF #EF8282 #B9EF82 #82EFEF
split-complementary
#B882EF #EFEF82 #82EF82
monochromatic
#7A1CDB #994CE8 #B882EF #D7B8F6 #F0E4FC

Accessibility & contrast

On white

2.81
#B882EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#B882EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B882EF
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B882EF#FFFFFF#000000##000000
##B882EF1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6598F3
Deuteranopia (green-blind)
#739AEC
Tritanopia (blue-blind)
#AF94AD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b882ef;
/* rgb */ color: rgb(184, 130, 239);
/* oklch */ color: oklch(70.4% 0.162 305.5);
Tailwind
colors: {
  custom: {
    50: '#cfa7f5',
    500: '#b882ef',
    950: '#000000',
  },
}
SCSS
$custom: #b882ef;
$custom-light: #cfa7f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b882ef",
  "rgb": {
    "r": 184,
    "g": 130,
    "b": 239
  },
  "hsl": {
    "h": 269.725,
    "s": 77.305,
    "l": 72.353
  },
  "oklch": {
    "l": 0.70369,
    "c": 0.16216,
    "h": 305.5
  },
  "luminance": 0.32388
}

Semantic roles & 50–950 ramp

primary
#B882EF
secondary
#E6F3D8
accent
#DA0C74
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B882EF

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

Preview Lab → · Contrast checker → · Palette generator →

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