#BB5CF9#BB5CF9

#BB5CF9 is a light, highly saturated violet. Relative luminance 0.251; OKLCH L 65.8% C 0.230 H 309.3°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#BB5CF9
RGBrgb(187, 92, 249)
HSLhsl(276, 93%, 67%)
HSVhsv(276, 63%, 98%)
CMYKcmyk(24.9%, 63.1%, 0%, 2.4%)
CIE-LABlab(57.13, 63.84, -63.16)
CIE-LCHlch(57.13, 89.80, 315.30°)
OKLaboklab(65.82% 0.1459 -0.1783)
OKLCHoklch(65.82% 0.23 309.3)
XYZxyz(41.4162, 25.0594, 92.2593)
Luminance0.2506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5CF9 #9AF95C
analogous
#6D5CF9 #BB5CF9 #F95CE8
triadic
#BB5CF9 #F9BB5C #5CF9BB
tetradic
#BB5CF9 #F96D5C #9AF95C #5CE8F9
square
#BB5CF9 #F96D5C #9AF95C #5CE8F9
split-complementary
#BB5CF9 #E8F95C #5CF96D
monochromatic
#8308D3 #A221F7 #BB5CF9 #D497FB #ECD2FD

Accessibility & contrast

On white

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

On black

6.01
#BB5CF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5CF9
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5CF9#FFFFFF#000000##000000
##BB5CF91.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FE
Deuteranopia (green-blind)
#458AF5
Tritanopia (blue-blind)
#B27CA3
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #bb5cf9;
/* rgb */ color: rgb(187, 92, 249);
/* oklch */ color: oklch(65.8% 0.230 309.3);
Tailwind
colors: {
  custom: {
    50: '#d48ffc',
    500: '#bb5cf9',
    950: '#000000',
  },
}
SCSS
$custom: #bb5cf9;
$custom-light: #d48ffc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5cf9",
  "rgb": {
    "r": 187,
    "g": 92,
    "b": 249
  },
  "hsl": {
    "h": 276.306,
    "s": 92.899,
    "l": 66.863
  },
  "oklch": {
    "l": 0.65815,
    "c": 0.23043,
    "h": 309.3
  },
  "luminance": 0.25059
}

Semantic roles & 50–950 ramp

primary
#BB5CF9
secondary
#D3F2BF
accent
#E6005B
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #BB5CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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