#BB91EC#BB91EC

#BB91EC is a light, vivid violet. Relative luminance 0.369; OKLCH L 73.0% C 0.135 H 304.5°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#BB91EC
RGBrgb(187, 145, 236)
HSLhsl(268, 71%, 75%)
HSVhsv(268, 39%, 93%)
CMYKcmyk(20.8%, 38.6%, 0%, 7.5%)
CIE-LABlab(67.18, 33.33, -40.05)
CIE-LCHlch(67.18, 52.10, 309.77°)
OKLaboklab(73.04% 0.0765 -0.1112)
OKLCHoklch(73.04% 0.135 304.5)
XYZxyz(45.7561, 36.8719, 84.0471)
Luminance0.3687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB91EC #C2EC91
analogous
#9195EC #BB91EC #E891EC
triadic
#BB91EC #ECBB91 #91ECBB
tetradic
#BB91EC #EC9195 #C2EC91 #91ECE8
square
#BB91EC #EC9195 #C2EC91 #91ECE8
split-complementary
#BB91EC #ECE891 #95EC91
monochromatic
#7A29DA #9B5DE3 #BB91EC #DBC5F5 #EFE5FA

Accessibility & contrast

On white

2.51
#BB91EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#BB91EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB91EC
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB91EC#FFFFFF#000000##000000
##BB91EC1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA2EF
Deuteranopia (green-blind)
#85A4EA
Tritanopia (blue-blind)
#B39FB3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bb91ec;
/* rgb */ color: rgb(187, 145, 236);
/* oklch */ color: oklch(73.0% 0.135 304.5);
Tailwind
colors: {
  custom: {
    50: '#d1b1f2',
    500: '#bb91ec',
    950: '#000000',
  },
}
SCSS
$custom: #bb91ec;
$custom-light: #d1b1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb91ec",
  "rgb": {
    "r": 187,
    "g": 145,
    "b": 236
  },
  "hsl": {
    "h": 267.692,
    "s": 70.543,
    "l": 74.706
  },
  "oklch": {
    "l": 0.73041,
    "c": 0.13493,
    "h": 304.5
  },
  "luminance": 0.36872
}

Semantic roles & 50–950 ramp

primary
#BB91EC
secondary
#E6F2D9
accent
#D3137A
background
#FCFAFE
surface
#F9F5FD
border
#D2CFD5
text
#141117
muted
#828085

Preview Lab

Preview with #BB91EC

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

Preview Lab → · Contrast checker → · Palette generator →

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