#BB81ED#BB81ED

#BB81ED is a light, vivid violet. Relative luminance 0.324; OKLCH L 70.4% C 0.162 H 307.5°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#BB81ED
RGBrgb(187, 129, 237)
HSLhsl(272, 75%, 72%)
HSVhsv(272, 46%, 93%)
CMYKcmyk(21.1%, 45.6%, 0%, 7.1%)
CIE-LABlab(63.66, 42.35, -46.13)
CIE-LCHlch(63.66, 62.62, 312.55°)
OKLaboklab(70.4% 0.0988 -0.1287)
OKLCHoklch(70.4% 0.162 307.5)
XYZxyz(43.6268, 32.3802, 84.0561)
Luminance0.3238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB81ED #B3ED81
analogous
#8581ED #BB81ED #ED81E9
triadic
#BB81ED #EDBB81 #81EDBB
tetradic
#BB81ED #ED8581 #B3ED81 #81E9ED
square
#BB81ED #ED8581 #B3ED81 #81E9ED
split-complementary
#BB81ED #E9ED81 #81ED85
monochromatic
#811ED5 #9E4BE5 #BB81ED #D8B7F5 #F1E4FB

Accessibility & contrast

On white

2.81
#BB81ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#BB81ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB81ED
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB81ED#FFFFFF#000000##000000
##BB81ED1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb81ed;
/* rgb */ color: rgb(187, 129, 237);
/* oklch */ color: oklch(70.4% 0.162 307.5);
Tailwind
colors: {
  custom: {
    50: '#d1a7f3',
    500: '#bb81ed',
    950: '#000000',
  },
}
SCSS
$custom: #bb81ed;
$custom-light: #d1a7f3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb81ed",
  "rgb": {
    "r": 187,
    "g": 129,
    "b": 237
  },
  "hsl": {
    "h": 272.222,
    "s": 75,
    "l": 71.765
  },
  "oklch": {
    "l": 0.70403,
    "c": 0.16227,
    "h": 307.5
  },
  "luminance": 0.3238
}

Semantic roles & 50–950 ramp

primary
#BB81ED
secondary
#E4F3D7
accent
#D70E6B
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB81ED

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

Preview Lab → · Contrast checker → · Palette generator →

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