#BB5CFA#BB5CFA

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

Color values

HEX#BB5CFA
RGBrgb(187, 92, 250)
HSLhsl(276, 94%, 67%)
HSVhsv(276, 63%, 98%)
CMYKcmyk(25.2%, 63.2%, 0%, 2%)
CIE-LABlab(57.19, 64.05, -63.62)
CIE-LCHlch(57.19, 90.28, 315.19°)
OKLaboklab(65.88% 0.1459 -0.1797)
OKLCHoklch(65.88% 0.231 309.1)
XYZxyz(41.5726, 25.1219, 93.0829)
Luminance0.2512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5CFA #9BFA5C
analogous
#6C5CFA #BB5CFA #FA5CEA
triadic
#BB5CFA #FABB5C #5CFABB
tetradic
#BB5CFA #FA6C5C #9BFA5C #5CEAFA
square
#BB5CFA #FA6C5C #9BFA5C #5CEAFA
split-complementary
#BB5CFA #EAFA5C #5CFA6C
monochromatic
#8307D5 #A221F8 #BB5CFA #D497FC #EDD3FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB5CFA#FFFFFF#000000##000000
##BB5CFA1.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)
#0085FF
Deuteranopia (green-blind)
#438BF6
Tritanopia (blue-blind)
#B27CA3
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #bb5cfa;
/* rgb */ color: rgb(187, 92, 250);
/* oklch */ color: oklch(65.9% 0.231 309.1);
Tailwind
colors: {
  custom: {
    50: '#d48ffd',
    500: '#bb5cfa',
    950: '#000000',
  },
}
SCSS
$custom: #bb5cfa;
$custom-light: #d48ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5cfa",
  "rgb": {
    "r": 187,
    "g": 92,
    "b": 250
  },
  "hsl": {
    "h": 276.076,
    "s": 94.048,
    "l": 67.059
  },
  "oklch": {
    "l": 0.65878,
    "c": 0.23143,
    "h": 309.1
  },
  "luminance": 0.25121
}

Semantic roles & 50–950 ramp

primary
#BB5CFA
secondary
#D4F2C0
accent
#E6005C
background
#FDF9FF
surface
#FBF1FF
border
#D4CBD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #BB5CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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