#BB5EF2#BB5EF2

#BB5EF2 is a light, highly saturated violet. Relative luminance 0.250; OKLCH L 65.6% C 0.221 H 310.7°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#BB5EF2
RGBrgb(187, 94, 242)
HSLhsl(278, 85%, 66%)
HSVhsv(278, 61%, 95%)
CMYKcmyk(22.7%, 61.2%, 0%, 5.1%)
CIE-LABlab(57.06, 61.41, -59.39)
CIE-LCHlch(57.06, 85.43, 315.95°)
OKLaboklab(65.63% 0.1439 -0.1673)
OKLCHoklch(65.63% 0.221 310.7)
XYZxyz(40.5202, 24.9819, 86.6746)
Luminance0.2498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5EF2 #95F25E
analogous
#715EF2 #BB5EF2 #F25EDF
triadic
#BB5EF2 #F2BB5E #5EF2BB
tetradic
#BB5EF2 #F2715E #95F25E #5EDFF2
square
#BB5EF2 #F2715E #95F25E #5EDFF2
split-complementary
#BB5EF2 #DFF25E #5EF271
monochromatic
#8210C6 #A325ED #BB5EF2 #D397F7 #EBCFFB

Accessibility & contrast

On white

3.50
#BB5EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#BB5EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5EF2
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5EF2#FFFFFF#000000##000000
##BB5EF21.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C85F7
Deuteranopia (green-blind)
#4E8BEF
Tritanopia (blue-blind)
#B47AA0
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #bb5ef2;
/* rgb */ color: rgb(187, 94, 242);
/* oklch */ color: oklch(65.6% 0.221 310.7);
Tailwind
colors: {
  custom: {
    50: '#d390f7',
    500: '#bb5ef2',
    950: '#000000',
  },
}
SCSS
$custom: #bb5ef2;
$custom-light: #d390f7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5ef2",
  "rgb": {
    "r": 187,
    "g": 94,
    "b": 242
  },
  "hsl": {
    "h": 277.703,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.65626,
    "c": 0.22066,
    "h": 310.7
  },
  "luminance": 0.24981
}

Semantic roles & 50–950 ramp

primary
#BB5EF2
secondary
#D0EEBD
accent
#E20456
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #BB5EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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