#BB81EA#BB81EA

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

Color values

HEX#BB81EA
RGBrgb(187, 129, 234)
HSLhsl(273, 71%, 71%)
HSVhsv(273, 45%, 92%)
CMYKcmyk(20.1%, 44.9%, 0%, 8.2%)
CIE-LABlab(63.51, 41.68, -44.70)
CIE-LCHlch(63.51, 61.12, 313.00°)
OKLaboklab(70.25% 0.0984 -0.1246)
OKLCHoklch(70.25% 0.159 308.3)
XYZxyz(43.1922, 32.2063, 81.7670)
Luminance0.3221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB81EA #B0EA81
analogous
#8681EA #BB81EA #EA81E4
triadic
#BB81EA #EABB81 #81EABB
tetradic
#BB81EA #EA8681 #B0EA81 #81E4EA
square
#BB81EA #EA8681 #B0EA81 #81E4EA
split-complementary
#BB81EA #E4EA81 #81EA86
monochromatic
#8122CE #9F4DE1 #BB81EA #D7B5F3 #F1E5FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB81EA#FFFFFF#000000##000000
##BB81EA1.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)
#6897EE
Deuteranopia (green-blind)
#779BE7
Tritanopia (blue-blind)
#B592AA
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bb81ea;
/* rgb */ color: rgb(187, 129, 234);
/* oklch */ color: oklch(70.3% 0.159 308.3);
Tailwind
colors: {
  custom: {
    50: '#d1a7f1',
    500: '#bb81ea',
    950: '#000000',
  },
}
SCSS
$custom: #bb81ea;
$custom-light: #d1a7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb81ea",
  "rgb": {
    "r": 187,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 273.143,
    "s": 71.429,
    "l": 71.176
  },
  "oklch": {
    "l": 0.7025,
    "c": 0.15871,
    "h": 308.3
  },
  "luminance": 0.32206
}

Semantic roles & 50–950 ramp

primary
#BB81EA
secondary
#E2F1D6
accent
#D31269
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB81EA

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

Preview Lab → · Contrast checker → · Palette generator →

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