#BB5EF4#BB5EF4

#BB5EF4 is a light, highly saturated violet. Relative luminance 0.251; OKLCH L 65.7% C 0.223 H 310.2°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#BB5EF4
RGBrgb(187, 94, 244)
HSLhsl(277, 87%, 66%)
HSVhsv(277, 61%, 96%)
CMYKcmyk(23.4%, 61.5%, 0%, 4.3%)
CIE-LABlab(57.18, 61.83, -60.32)
CIE-LCHlch(57.18, 86.38, 315.71°)
OKLaboklab(65.75% 0.1439 -0.17)
OKLCHoklch(65.75% 0.223 310.2)
XYZxyz(40.8222, 25.1027, 88.2652)
Luminance0.2510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5EF4 #97F45E
analogous
#705EF4 #BB5EF4 #F45EE2
triadic
#BB5EF4 #F4BB5E #5EF4BB
tetradic
#BB5EF4 #F4705E #97F45E #5EE2F4
square
#BB5EF4 #F4705E #97F45E #5EE2F4
split-complementary
#BB5EF4 #E2F45E #5EF470
monochromatic
#820ECA #A325F0 #BB5EF4 #D397F8 #EBD1FC

Accessibility & contrast

On white

3.49
#BB5EF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#BB5EF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5EF4
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5EF4#FFFFFF#000000##000000
##BB5EF41.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1685F9
Deuteranopia (green-blind)
#4C8BF0
Tritanopia (blue-blind)
#B37BA1
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #bb5ef4;
/* rgb */ color: rgb(187, 94, 244);
/* oklch */ color: oklch(65.7% 0.223 310.2);
Tailwind
colors: {
  custom: {
    50: '#d390f8',
    500: '#bb5ef4',
    950: '#000000',
  },
}
SCSS
$custom: #bb5ef4;
$custom-light: #d390f8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5ef4",
  "rgb": {
    "r": 187,
    "g": 94,
    "b": 244
  },
  "hsl": {
    "h": 277.2,
    "s": 87.209,
    "l": 66.275
  },
  "oklch": {
    "l": 0.65749,
    "c": 0.22269,
    "h": 310.2
  },
  "luminance": 0.25102
}

Semantic roles & 50–950 ramp

primary
#BB5EF4
secondary
#D1EFBE
accent
#E40258
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #BB5EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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