#BB5EF1#BB5EF1

#BB5EF1 is a light, highly saturated violet. Relative luminance 0.249; OKLCH L 65.6% C 0.220 H 310.9°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#BB5EF1
RGBrgb(187, 94, 241)
HSLhsl(278, 84%, 66%)
HSVhsv(278, 61%, 95%)
CMYKcmyk(22.4%, 61%, 0%, 5.5%)
CIE-LABlab(57.00, 61.20, -58.93)
CIE-LCHlch(57.00, 84.96, 316.08°)
OKLaboklab(65.57% 0.1439 -0.1659)
OKLCHoklch(65.57% 0.22 310.9)
XYZxyz(40.3704, 24.9220, 85.8858)
Luminance0.2492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5EF1 #94F15E
analogous
#715EF1 #BB5EF1 #F15EDE
triadic
#BB5EF1 #F1BB5E #5EF1BB
tetradic
#BB5EF1 #F1715E #94F15E #5EDEF1
square
#BB5EF1 #F1715E #94F15E #5EDEF1
split-complementary
#BB5EF1 #DEF15E #5EF171
monochromatic
#8211C4 #A326EC #BB5EF1 #D396F6 #EBCFFB

Accessibility & contrast

On white

3.51
#BB5EF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#BB5EF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5EF1
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5EF1#FFFFFF#000000##000000
##BB5EF11.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E84F6
Deuteranopia (green-blind)
#4F8BEE
Tritanopia (blue-blind)
#B47A9F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #bb5ef1;
/* rgb */ color: rgb(187, 94, 241);
/* oklch */ color: oklch(65.6% 0.220 310.9);
Tailwind
colors: {
  custom: {
    50: '#d390f6',
    500: '#bb5ef1',
    950: '#000000',
  },
}
SCSS
$custom: #bb5ef1;
$custom-light: #d390f6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5ef1",
  "rgb": {
    "r": 187,
    "g": 94,
    "b": 241
  },
  "hsl": {
    "h": 277.959,
    "s": 84,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65565,
    "c": 0.21964,
    "h": 310.9
  },
  "luminance": 0.24921
}

Semantic roles & 50–950 ramp

primary
#BB5EF1
secondary
#CFEEBD
accent
#E00556
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #BB5EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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