#BB5CF4#BB5CF4

#BB5CF4 is a light, highly saturated violet. Relative luminance 0.248; OKLCH L 65.5% C 0.225 H 310.4°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#BB5CF4
RGBrgb(187, 92, 244)
HSLhsl(278, 87%, 66%)
HSVhsv(278, 62%, 96%)
CMYKcmyk(23.4%, 62.3%, 0%, 4.3%)
CIE-LABlab(56.83, 62.77, -60.87)
CIE-LCHlch(56.83, 87.44, 315.88°)
OKLaboklab(65.5% 0.1462 -0.1716)
OKLCHoklch(65.5% 0.225 310.4)
XYZxyz(40.6467, 24.7516, 88.2067)
Luminance0.2475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5CF4 #95F45C
analogous
#6F5CF4 #BB5CF4 #F45CE1
triadic
#BB5CF4 #F4BB5C #5CF4BB
tetradic
#BB5CF4 #F46F5C #95F45C #5CE1F4
square
#BB5CF4 #F46F5C #95F45C #5CE1F4
split-complementary
#BB5CF4 #E1F45C #5CF46F
monochromatic
#820EC8 #A323F0 #BB5CF4 #D395F8 #EBCFFC

Accessibility & contrast

On white

3.53
#BB5CF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#BB5CF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5CF4
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5CF4#FFFFFF#000000##000000
##BB5CF41.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A84F9
Deuteranopia (green-blind)
#4A8AF0
Tritanopia (blue-blind)
#B47AA0
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #bb5cf4;
/* rgb */ color: rgb(187, 92, 244);
/* oklch */ color: oklch(65.5% 0.225 310.4);
Tailwind
colors: {
  custom: {
    50: '#d38ff8',
    500: '#bb5cf4',
    950: '#000000',
  },
}
SCSS
$custom: #bb5cf4;
$custom-light: #d38ff8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5cf4",
  "rgb": {
    "r": 187,
    "g": 92,
    "b": 244
  },
  "hsl": {
    "h": 277.5,
    "s": 87.356,
    "l": 65.882
  },
  "oklch": {
    "l": 0.65501,
    "c": 0.2254,
    "h": 310.4
  },
  "luminance": 0.24751
}

Semantic roles & 50–950 ramp

primary
#BB5CF4
secondary
#D0EFBD
accent
#E40256
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #BB5CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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