#BB5EF6#BB5EF6

#BB5EF6 is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 65.9% C 0.225 H 309.8°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#BB5EF6
RGBrgb(187, 94, 246)
HSLhsl(277, 89%, 67%)
HSVhsv(277, 62%, 96%)
CMYKcmyk(24%, 61.8%, 0%, 3.5%)
CIE-LABlab(57.29, 62.26, -61.24)
CIE-LCHlch(57.29, 87.33, 315.47°)
OKLaboklab(65.87% 0.1438 -0.1727)
OKLCHoklch(65.87% 0.225 309.8)
XYZxyz(41.1275, 25.2248, 89.8732)
Luminance0.2522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5EF6 #99F65E
analogous
#6F5EF6 #BB5EF6 #F65EE5
triadic
#BB5EF6 #F6BB5E #5EF6BB
tetradic
#BB5EF6 #F66F5E #99F65E #5EE5F6
square
#BB5EF6 #F66F5E #99F65E #5EE5F6
split-complementary
#BB5EF6 #E5F65E #5EF66F
monochromatic
#830CCE #A324F3 #BB5EF6 #D398F9 #ECD2FC

Accessibility & contrast

On white

3.47
#BB5EF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#BB5EF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5EF6
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5EF6#FFFFFF#000000##000000
##BB5EF61.003.476.046.04
#FFFFFF3.471.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F85FB
Deuteranopia (green-blind)
#4A8BF2
Tritanopia (blue-blind)
#B37CA2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #bb5ef6;
/* rgb */ color: rgb(187, 94, 246);
/* oklch */ color: oklch(65.9% 0.225 309.8);
Tailwind
colors: {
  custom: {
    50: '#d391fa',
    500: '#bb5ef6',
    950: '#000000',
  },
}
SCSS
$custom: #bb5ef6;
$custom-light: #d391fa;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5ef6",
  "rgb": {
    "r": 187,
    "g": 94,
    "b": 246
  },
  "hsl": {
    "h": 276.711,
    "s": 89.412,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65873,
    "c": 0.22472,
    "h": 309.8
  },
  "luminance": 0.25224
}

Semantic roles & 50–950 ramp

primary
#BB5EF6
secondary
#D2F0BF
accent
#E60059
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #BB5EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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