#BB5FEE#BB5FEE

#BB5FEE is a light, highly saturated violet. Relative luminance 0.249; OKLCH L 65.5% C 0.215 H 311.6°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#BB5FEE
RGBrgb(187, 95, 238)
HSLhsl(279, 81%, 65%)
HSVhsv(279, 60%, 93%)
CMYKcmyk(21.4%, 60.1%, 0%, 6.7%)
CIE-LABlab(57.00, 60.09, -57.26)
CIE-LCHlch(57.00, 83.00, 316.38°)
OKLaboklab(65.51% 0.1428 -0.161)
OKLCHoklch(65.51% 0.215 311.6)
XYZxyz(40.0155, 24.9232, 83.5750)
Luminance0.2492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5FEE #92EE5F
analogous
#735FEE #BB5FEE #EE5FDA
triadic
#BB5FEE #EEBB5F #5FEEBB
tetradic
#BB5FEE #EE735F #92EE5F #5FDAEE
square
#BB5FEE #EE735F #92EE5F #5FDAEE
split-complementary
#BB5FEE #DAEE5F #5FEE73
monochromatic
#8214BE #A328E8 #BB5FEE #D396F4 #EACEFA

Accessibility & contrast

On white

3.51
#BB5FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#BB5FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5FEE
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5FEE#FFFFFF#000000##000000
##BB5FEE1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2884F2
Deuteranopia (green-blind)
#538BEB
Tritanopia (blue-blind)
#B57A9E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #bb5fee;
/* rgb */ color: rgb(187, 95, 238);
/* oklch */ color: oklch(65.5% 0.215 311.6);
Tailwind
colors: {
  custom: {
    50: '#d391f4',
    500: '#bb5fee',
    950: '#000000',
  },
}
SCSS
$custom: #bb5fee;
$custom-light: #d391f4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5fee",
  "rgb": {
    "r": 187,
    "g": 95,
    "b": 238
  },
  "hsl": {
    "h": 278.601,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.6551,
    "c": 0.21521,
    "h": 311.6
  },
  "luminance": 0.24922
}

Semantic roles & 50–950 ramp

primary
#BB5FEE
secondary
#CDECBC
accent
#DD0854
background
#FDF9FF
surface
#FAF1FE
border
#D3CBD6
text
#150D17
muted
#837E85

Preview Lab

Preview with #BB5FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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