#BB5FF6#BB5FF6

#BB5FF6 is a light, highly saturated violet. Relative luminance 0.254; OKLCH L 66.0% C 0.223 H 309.7°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#BB5FF6
RGBrgb(187, 95, 246)
HSLhsl(277, 89%, 67%)
HSVhsv(277, 61%, 96%)
CMYKcmyk(24%, 61.4%, 0%, 3.5%)
CIE-LABlab(57.47, 61.79, -60.96)
CIE-LCHlch(57.47, 86.80, 315.39°)
OKLaboklab(66% 0.1426 -0.1719)
OKLCHoklch(66% 0.223 309.7)
XYZxyz(41.2170, 25.4038, 89.9030)
Luminance0.2540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5FF6 #9AF65F
analogous
#705FF6 #BB5FF6 #F65FE6
triadic
#BB5FF6 #F6BB5F #5FF6BB
tetradic
#BB5FF6 #F6705F #9AF65F #5FE6F6
square
#BB5FF6 #F6705F #9AF65F #5FE6F6
split-complementary
#BB5FF6 #E6F65F #5FF670
monochromatic
#830CCF #A225F3 #BB5FF6 #D499F9 #ECD3FD

Accessibility & contrast

On white

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

On black

6.08
#BB5FF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5FF6
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5FF6#FFFFFF#000000##000000
##BB5FF61.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1586FB
Deuteranopia (green-blind)
#4B8BF2
Tritanopia (blue-blind)
#B37DA2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #bb5ff6;
/* rgb */ color: rgb(187, 95, 246);
/* oklch */ color: oklch(66.0% 0.223 309.7);
Tailwind
colors: {
  custom: {
    50: '#d391fa',
    500: '#bb5ff6',
    950: '#000000',
  },
}
SCSS
$custom: #bb5ff6;
$custom-light: #d391fa;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5ff6",
  "rgb": {
    "r": 187,
    "g": 95,
    "b": 246
  },
  "hsl": {
    "h": 276.556,
    "s": 89.349,
    "l": 66.863
  },
  "oklch": {
    "l": 0.65998,
    "c": 0.22336,
    "h": 309.7
  },
  "luminance": 0.25403
}

Semantic roles & 50–950 ramp

primary
#BB5FF6
secondary
#D3F1C0
accent
#E6005A
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #BB5FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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