#BB81E4#BB81E4

#BB81E4 is a light, vivid violet. Relative luminance 0.319; OKLCH L 69.9% C 0.152 H 310.0°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#BB81E4
RGBrgb(187, 129, 228)
HSLhsl(275, 65%, 70%)
HSVhsv(275, 43%, 89%)
CMYKcmyk(18%, 43.4%, 0%, 10.6%)
CIE-LABlab(63.23, 40.36, -41.81)
CIE-LCHlch(63.23, 58.11, 313.98°)
OKLaboklab(69.95% 0.0974 -0.1162)
OKLCHoklch(69.95% 0.152 310)
XYZxyz(42.3448, 31.8674, 77.3040)
Luminance0.3187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB81E4 #AAE481
analogous
#8A81E4 #BB81E4 #E481DB
triadic
#BB81E4 #E4BB81 #81E4BB
tetradic
#BB81E4 #E48A81 #AAE481 #81DBE4
square
#BB81E4 #E48A81 #AAE481 #81DBE4
split-complementary
#BB81E4 #DBE481 #81E48A
monochromatic
#8229C1 #A04FD9 #BB81E4 #D6B3EF #F1E6FA

Accessibility & contrast

On white

2.85
#BB81E4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#BB81E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB81E4
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB81E4#FFFFFF#000000##000000
##BB81E41.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B96E8
Deuteranopia (green-blind)
#7A9AE1
Tritanopia (blue-blind)
#B690A8
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #bb81e4;
/* rgb */ color: rgb(187, 129, 228);
/* oklch */ color: oklch(69.9% 0.152 310.0);
Tailwind
colors: {
  custom: {
    50: '#d1a7ed',
    500: '#bb81e4',
    950: '#000000',
  },
}
SCSS
$custom: #bb81e4;
$custom-light: #d1a7ed;
$custom-dark: #000000;
JSON
{
  "hex": "#bb81e4",
  "rgb": {
    "r": 187,
    "g": 129,
    "b": 228
  },
  "hsl": {
    "h": 275.152,
    "s": 64.706,
    "l": 70
  },
  "oklch": {
    "l": 0.69948,
    "c": 0.15164,
    "h": 310
  },
  "luminance": 0.31867
}

Semantic roles & 50–950 ramp

primary
#BB81E4
secondary
#DEEED3
accent
#CD1963
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB81E4

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

Preview Lab → · Contrast checker → · Palette generator →

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