#BB81EF#BB81EF

#BB81EF is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.5% C 0.165 H 307.0°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#BB81EF
RGBrgb(187, 129, 239)
HSLhsl(272, 77%, 72%)
HSVhsv(272, 46%, 94%)
CMYKcmyk(21.8%, 46%, 0%, 6.3%)
CIE-LABlab(63.75, 42.80, -47.09)
CIE-LCHlch(63.75, 63.63, 312.27°)
OKLaboklab(70.51% 0.0991 -0.1315)
OKLCHoklch(70.51% 0.165 307)
XYZxyz(43.9206, 32.4977, 85.6035)
Luminance0.3250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB81EF #B5EF81
analogous
#8481EF #BB81EF #EF81EC
triadic
#BB81EF #EFBB81 #81EFBB
tetradic
#BB81EF #EF8481 #B5EF81 #81ECEF
square
#BB81EF #EF8481 #B5EF81 #81ECEF
split-complementary
#BB81EF #ECEF81 #81EF84
monochromatic
#801CDA #9E4BE8 #BB81EF #D8B7F6 #F0E4FC

Accessibility & contrast

On white

2.80
#BB81EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#BB81EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB81EF
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB81EF#FFFFFF#000000##000000
##BB81EF1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6598F3
Deuteranopia (green-blind)
#749BEC
Tritanopia (blue-blind)
#B393AD
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #bb81ef;
/* rgb */ color: rgb(187, 129, 239);
/* oklch */ color: oklch(70.5% 0.165 307.0);
Tailwind
colors: {
  custom: {
    50: '#d1a7f5',
    500: '#bb81ef',
    950: '#000000',
  },
}
SCSS
$custom: #bb81ef;
$custom-light: #d1a7f5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb81ef",
  "rgb": {
    "r": 187,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 271.636,
    "s": 77.465,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70507,
    "c": 0.16463,
    "h": 307
  },
  "luminance": 0.32497
}

Semantic roles & 50–950 ramp

primary
#BB81EF
secondary
#E5F3D8
accent
#DA0C6D
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #BB81EF

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

Preview Lab → · Contrast checker → · Palette generator →

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