#BB81EE#BB81EE

#BB81EE is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.5% C 0.163 H 307.2°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#BB81EE
RGBrgb(187, 129, 238)
HSLhsl(272, 76%, 72%)
HSVhsv(272, 46%, 93%)
CMYKcmyk(21.4%, 45.8%, 0%, 6.7%)
CIE-LABlab(63.70, 42.57, -46.61)
CIE-LCHlch(63.70, 63.13, 312.41°)
OKLaboklab(70.46% 0.0989 -0.1301)
OKLCHoklch(70.46% 0.163 307.2)
XYZxyz(43.7733, 32.4388, 84.8276)
Luminance0.3244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB81EE #B4EE81
analogous
#8581EE #BB81EE #EE81EA
triadic
#BB81EE #EEBB81 #81EEBB
tetradic
#BB81EE #EE8581 #B4EE81 #81EAEE
square
#BB81EE #EE8581 #B4EE81 #81EAEE
split-complementary
#BB81EE #EAEE81 #81EE85
monochromatic
#801DD8 #9E4BE7 #BB81EE #D8B7F5 #F0E4FB

Accessibility & contrast

On white

2.80
#BB81EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#BB81EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB81EE
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB81EE#FFFFFF#000000##000000
##BB81EE1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6698F2
Deuteranopia (green-blind)
#759BEB
Tritanopia (blue-blind)
#B493AC
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bb81ee;
/* rgb */ color: rgb(187, 129, 238);
/* oklch */ color: oklch(70.5% 0.163 307.2);
Tailwind
colors: {
  custom: {
    50: '#d1a7f4',
    500: '#bb81ee',
    950: '#000000',
  },
}
SCSS
$custom: #bb81ee;
$custom-light: #d1a7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb81ee",
  "rgb": {
    "r": 187,
    "g": 129,
    "b": 238
  },
  "hsl": {
    "h": 271.927,
    "s": 76.224,
    "l": 71.961
  },
  "oklch": {
    "l": 0.70455,
    "c": 0.16345,
    "h": 307.2
  },
  "luminance": 0.32438
}

Semantic roles & 50–950 ramp

primary
#BB81EE
secondary
#E5F3D8
accent
#D80D6C
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB81EE

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

Preview Lab → · Contrast checker → · Palette generator →

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