#BB81E7#BB81E7

#BB81E7 is a light, vivid violet. Relative luminance 0.320; OKLCH L 70.1% C 0.155 H 309.1°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#BB81E7
RGBrgb(187, 129, 231)
HSLhsl(274, 68%, 71%)
HSVhsv(274, 44%, 91%)
CMYKcmyk(19%, 44.2%, 0%, 9.4%)
CIE-LABlab(63.37, 41.01, -43.26)
CIE-LCHlch(63.37, 59.61, 313.48°)
OKLaboklab(70.1% 0.0979 -0.1204)
OKLCHoklch(70.1% 0.155 309.1)
XYZxyz(42.7649, 32.0354, 79.5164)
Luminance0.3204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB81E7 #ADE781
analogous
#8881E7 #BB81E7 #E781E0
triadic
#BB81E7 #E7BB81 #81E7BB
tetradic
#BB81E7 #E78881 #ADE781 #81E0E7
square
#BB81E7 #E78881 #ADE781 #81E0E7
split-complementary
#BB81E7 #E0E781 #81E788
monochromatic
#8226C8 #9F4EDD #BB81E7 #D7B4F1 #F1E5FA

Accessibility & contrast

On white

2.84
#BB81E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#BB81E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB81E7
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB81E7#FFFFFF#000000##000000
##BB81E71.002.847.417.41
#FFFFFF2.841.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A97EB
Deuteranopia (green-blind)
#789AE4
Tritanopia (blue-blind)
#B591A9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #bb81e7;
/* rgb */ color: rgb(187, 129, 231);
/* oklch */ color: oklch(70.1% 0.155 309.1);
Tailwind
colors: {
  custom: {
    50: '#d1a7ef',
    500: '#bb81e7',
    950: '#000000',
  },
}
SCSS
$custom: #bb81e7;
$custom-light: #d1a7ef;
$custom-dark: #000000;
JSON
{
  "hex": "#bb81e7",
  "rgb": {
    "r": 187,
    "g": 129,
    "b": 231
  },
  "hsl": {
    "h": 274.118,
    "s": 68,
    "l": 70.588
  },
  "oklch": {
    "l": 0.70098,
    "c": 0.15518,
    "h": 309.1
  },
  "luminance": 0.32035
}

Semantic roles & 50–950 ramp

primary
#BB81E7
secondary
#E0F0D4
accent
#D01666
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB81E7

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

Preview Lab → · Contrast checker → · Palette generator →

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