#BB5EF5#BB5EF5

#BB5EF5 is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 65.8% C 0.224 H 310.0°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#BB5EF5
RGBrgb(187, 94, 245)
HSLhsl(277, 88%, 66%)
HSVhsv(277, 62%, 96%)
CMYKcmyk(23.7%, 61.6%, 0%, 3.9%)
CIE-LABlab(57.23, 62.05, -60.78)
CIE-LCHlch(57.23, 86.86, 315.59°)
OKLaboklab(65.81% 0.1438 -0.1713)
OKLCHoklch(65.81% 0.224 310)
XYZxyz(40.9745, 25.1636, 89.0670)
Luminance0.2516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5EF5 #98F55E
analogous
#705EF5 #BB5EF5 #F55EE3
triadic
#BB5EF5 #F5BB5E #5EF5BB
tetradic
#BB5EF5 #F5705E #98F55E #5EE3F5
square
#BB5EF5 #F5705E #98F55E #5EE3F5
split-complementary
#BB5EF5 #E3F55E #5EF570
monochromatic
#820DCC #A324F1 #BB5EF5 #D398F9 #ECD1FC

Accessibility & contrast

On white

3.48
#BB5EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#BB5EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5EF5
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5EF5#FFFFFF#000000##000000
##BB5EF51.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1385FA
Deuteranopia (green-blind)
#4B8BF1
Tritanopia (blue-blind)
#B37CA1
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #bb5ef5;
/* rgb */ color: rgb(187, 94, 245);
/* oklch */ color: oklch(65.8% 0.224 310.0);
Tailwind
colors: {
  custom: {
    50: '#d391f9',
    500: '#bb5ef5',
    950: '#000000',
  },
}
SCSS
$custom: #bb5ef5;
$custom-light: #d391f9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5ef5",
  "rgb": {
    "r": 187,
    "g": 94,
    "b": 245
  },
  "hsl": {
    "h": 276.954,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65811,
    "c": 0.2237,
    "h": 310
  },
  "luminance": 0.25163
}

Semantic roles & 50–950 ramp

primary
#BB5EF5
secondary
#D2F0BF
accent
#E50158
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #BB5EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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