#B882EE#B882EE

#B882EE is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.3% C 0.161 H 305.7°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#B882EE
RGBrgb(184, 130, 238)
HSLhsl(270, 76%, 72%)
HSVhsv(270, 45%, 93%)
CMYKcmyk(22.7%, 45.4%, 0%, 6.7%)
CIE-LABlab(63.61, 41.21, -46.77)
CIE-LCHlch(63.61, 62.33, 311.38°)
OKLaboklab(70.32% 0.094 -0.1306)
OKLCHoklch(70.32% 0.161 305.7)
XYZxyz(43.1792, 32.3289, 84.8377)
Luminance0.3233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B882EE #B8EE82
analogous
#8282EE #B882EE #EE82EE
triadic
#B882EE #EEB882 #82EEB8
tetradic
#B882EE #EE8282 #B8EE82 #82EEEE
square
#B882EE #EE8282 #B8EE82 #82EEEE
split-complementary
#B882EE #EEEE82 #82EE82
monochromatic
#7B1DD8 #994CE7 #B882EE #D7B8F5 #F0E4FB

Accessibility & contrast

On white

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

On black

7.47
#B882EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B882EE
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B882EE#FFFFFF#000000##000000
##B882EE1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6698F2
Deuteranopia (green-blind)
#749AEB
Tritanopia (blue-blind)
#B094AD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b882ee;
/* rgb */ color: rgb(184, 130, 238);
/* oklch */ color: oklch(70.3% 0.161 305.7);
Tailwind
colors: {
  custom: {
    50: '#cfa7f4',
    500: '#b882ee',
    950: '#000000',
  },
}
SCSS
$custom: #b882ee;
$custom-light: #cfa7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b882ee",
  "rgb": {
    "r": 184,
    "g": 130,
    "b": 238
  },
  "hsl": {
    "h": 270,
    "s": 76.056,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70317,
    "c": 0.16095,
    "h": 305.7
  },
  "luminance": 0.32329
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B882EE

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

Preview Lab → · Contrast checker → · Palette generator →

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