#BB81E2#BB81E2

#BB81E2 is a light, vivid violet. Relative luminance 0.318; OKLCH L 69.8% C 0.149 H 310.6°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#BB81E2
RGBrgb(187, 129, 226)
HSLhsl(276, 63%, 70%)
HSVhsv(276, 43%, 89%)
CMYKcmyk(17.3%, 42.9%, 0%, 11.4%)
CIE-LABlab(63.14, 39.92, -40.84)
CIE-LCHlch(63.14, 57.11, 314.34°)
OKLaboklab(69.85% 0.0971 -0.1134)
OKLCHoklch(69.85% 0.149 310.6)
XYZxyz(42.0688, 31.7570, 75.8503)
Luminance0.3176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB81E2 #A8E281
analogous
#8A81E2 #BB81E2 #E281D9
triadic
#BB81E2 #E2BB81 #81E2BB
tetradic
#BB81E2 #E28A81 #A8E281 #81D9E2
square
#BB81E2 #E28A81 #A8E281 #81D9E2
split-complementary
#BB81E2 #D9E281 #81E28A
monochromatic
#832CBD #A04FD7 #BB81E2 #D6B3ED #F1E4F9

Accessibility & contrast

On white

2.86
#BB81E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#BB81E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB81E2
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB81E2#FFFFFF#000000##000000
##BB81E21.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C96E6
Deuteranopia (green-blind)
#7B9ADF
Tritanopia (blue-blind)
#B790A7
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #bb81e2;
/* rgb */ color: rgb(187, 129, 226);
/* oklch */ color: oklch(69.8% 0.149 310.6);
Tailwind
colors: {
  custom: {
    50: '#d1a7eb',
    500: '#bb81e2',
    950: '#000000',
  },
}
SCSS
$custom: #bb81e2;
$custom-light: #d1a7eb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb81e2",
  "rgb": {
    "r": 187,
    "g": 129,
    "b": 226
  },
  "hsl": {
    "h": 275.876,
    "s": 62.581,
    "l": 69.608
  },
  "oklch": {
    "l": 0.6985,
    "c": 0.14929,
    "h": 310.6
  },
  "luminance": 0.31756
}

Semantic roles & 50–950 ramp

primary
#BB81E2
secondary
#DDEDD2
accent
#CA1B62
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F16
muted
#837F84

Preview Lab

Preview with #BB81E2

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

Preview Lab → · Contrast checker → · Palette generator →

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