#BB5EFB#BB5EFB

#BB5EFB is a light, highly saturated violet. Relative luminance 0.255; OKLCH L 66.2% C 0.230 H 308.7°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#BB5EFB
RGBrgb(187, 94, 251)
HSLhsl(276, 95%, 68%)
HSVhsv(276, 63%, 98%)
CMYKcmyk(25.5%, 62.5%, 0%, 1.6%)
CIE-LABlab(57.59, 63.34, -63.53)
CIE-LCHlch(57.59, 89.71, 314.91°)
OKLaboklab(66.19% 0.1436 -0.1794)
OKLCHoklch(66.19% 0.23 308.7)
XYZxyz(41.9053, 25.5359, 93.9694)
Luminance0.2554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5EFB #9EFB5E
analogous
#6C5EFB #BB5EFB #FB5EED
triadic
#BB5EFB #FBBB5E #5EFBBB
tetradic
#BB5EFB #FB6C5E #9EFB5E #5EEDFB
square
#BB5EFB #FB6C5E #9EFB5E #5EEDFB
split-complementary
#BB5EFB #EDFB5E #5EFB6C
monochromatic
#8305D9 #A222FA #BB5EFB #D49AFC #EDD5FE

Accessibility & contrast

On white

3.44
#BB5EFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#BB5EFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5EFB
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5EFB#FFFFFF#000000##000000
##BB5EFB1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#458BF7
Tritanopia (blue-blind)
#B27EA4
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #bb5efb;
/* rgb */ color: rgb(187, 94, 251);
/* oklch */ color: oklch(66.2% 0.230 308.7);
Tailwind
colors: {
  custom: {
    50: '#d491fd',
    500: '#bb5efb',
    950: '#000000',
  },
}
SCSS
$custom: #bb5efb;
$custom-light: #d491fd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5efb",
  "rgb": {
    "r": 187,
    "g": 94,
    "b": 251
  },
  "hsl": {
    "h": 275.541,
    "s": 95.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.66186,
    "c": 0.2298,
    "h": 308.7
  },
  "luminance": 0.25535
}

Semantic roles & 50–950 ramp

primary
#BB5EFB
secondary
#D6F3C2
accent
#E6005E
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #BB5EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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