#BB5FF2#BB5FF2

#BB5FF2 is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 65.8% C 0.219 H 310.6°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#BB5FF2
RGBrgb(187, 95, 242)
HSLhsl(278, 85%, 66%)
HSVhsv(278, 61%, 95%)
CMYKcmyk(22.7%, 60.7%, 0%, 5.1%)
CIE-LABlab(57.23, 60.93, -59.12)
CIE-LCHlch(57.23, 84.90, 315.87°)
OKLaboklab(65.75% 0.1427 -0.1665)
OKLCHoklch(65.75% 0.219 310.6)
XYZxyz(40.6097, 25.1609, 86.7044)
Luminance0.2516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5FF2 #96F25F
analogous
#715FF2 #BB5FF2 #F25FDF
triadic
#BB5FF2 #F2BB5F #5FF2BB
tetradic
#BB5FF2 #F2715F #96F25F #5FDFF2
square
#BB5FF2 #F2715F #96F25F #5FDFF2
split-complementary
#BB5FF2 #DFF25F #5FF271
monochromatic
#8210C6 #A326ED #BB5FF2 #D398F7 #EBD0FB

Accessibility & contrast

On white

3.48
#BB5FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#BB5FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5FF2
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5FF2#FFFFFF#000000##000000
##BB5FF21.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2085F7
Deuteranopia (green-blind)
#4F8BEF
Tritanopia (blue-blind)
#B47BA0
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #bb5ff2;
/* rgb */ color: rgb(187, 95, 242);
/* oklch */ color: oklch(65.8% 0.219 310.6);
Tailwind
colors: {
  custom: {
    50: '#d391f7',
    500: '#bb5ff2',
    950: '#000000',
  },
}
SCSS
$custom: #bb5ff2;
$custom-light: #d391f7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5ff2",
  "rgb": {
    "r": 187,
    "g": 95,
    "b": 242
  },
  "hsl": {
    "h": 277.551,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65753,
    "c": 0.21928,
    "h": 310.6
  },
  "luminance": 0.2516
}

Semantic roles & 50–950 ramp

primary
#BB5FF2
secondary
#D0EFBE
accent
#E10457
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #BB5FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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