#BB5FF7#BB5FF7

#BB5FF7 is a light, highly saturated violet. Relative luminance 0.255; OKLCH L 66.1% C 0.224 H 309.5°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#BB5FF7
RGBrgb(187, 95, 247)
HSLhsl(276, 90%, 67%)
HSVhsv(276, 62%, 97%)
CMYKcmyk(24.3%, 61.5%, 0%, 3.1%)
CIE-LABlab(57.53, 62.00, -61.42)
CIE-LCHlch(57.53, 87.28, 315.27°)
OKLaboklab(66.06% 0.1426 -0.1732)
OKLCHoklch(66.06% 0.224 309.5)
XYZxyz(41.3709, 25.4654, 90.7136)
Luminance0.2546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5FF7 #9BF75F
analogous
#6F5FF7 #BB5FF7 #F75FE7
triadic
#BB5FF7 #F7BB5F #5FF7BB
tetradic
#BB5FF7 #F76F5F #9BF75F #5FE7F7
square
#BB5FF7 #F76F5F #9BF75F #5FE7F7
split-complementary
#BB5FF7 #E7F75F #5FF76F
monochromatic
#830AD1 #A225F4 #BB5FF7 #D499FA #EDD4FD

Accessibility & contrast

On white

3.45
#BB5FF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#BB5FF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5FF7
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5FF7#FFFFFF#000000##000000
##BB5FF71.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1186FC
Deuteranopia (green-blind)
#4A8CF3
Tritanopia (blue-blind)
#B37DA3
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #bb5ff7;
/* rgb */ color: rgb(187, 95, 247);
/* oklch */ color: oklch(66.1% 0.224 309.5);
Tailwind
colors: {
  custom: {
    50: '#d391fb',
    500: '#bb5ff7',
    950: '#000000',
  },
}
SCSS
$custom: #bb5ff7;
$custom-light: #d391fb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5ff7",
  "rgb": {
    "r": 187,
    "g": 95,
    "b": 247
  },
  "hsl": {
    "h": 276.316,
    "s": 90.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.6606,
    "c": 0.22438,
    "h": 309.5
  },
  "luminance": 0.25465
}

Semantic roles & 50–950 ramp

primary
#BB5FF7
secondary
#D4F1C1
accent
#E6005B
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #BB5FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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