#BB5FEB#BB5FEB

#BB5FEB is a light, highly saturated violet. Relative luminance 0.247; OKLCH L 65.3% C 0.212 H 312.3°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#BB5FEB
RGBrgb(187, 95, 235)
HSLhsl(279, 78%, 65%)
HSVhsv(279, 60%, 92%)
CMYKcmyk(20.4%, 59.6%, 0%, 7.8%)
CIE-LABlab(56.83, 59.45, -55.85)
CIE-LCHlch(56.83, 81.58, 316.79°)
OKLaboklab(65.33% 0.1428 -0.1569)
OKLCHoklch(65.33% 0.212 312.3)
XYZxyz(39.5785, 24.7484, 81.2731)
Luminance0.2475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5FEB #8FEB5F
analogous
#755FEB #BB5FEB #EB5FD5
triadic
#BB5FEB #EBBB5F #5FEBBB
tetradic
#BB5FEB #EB755F #8FEB5F #5FD5EB
square
#BB5FEB #EB755F #8FEB5F #5FD5EB
split-complementary
#BB5FEB #D5EB5F #5FEB75
monochromatic
#8117B9 #A429E4 #BB5FEB #D295F2 #E9CCF9

Accessibility & contrast

On white

3.53
#BB5FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#BB5FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5FEB
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5FEB#FFFFFF#000000##000000
##BB5FEB1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D84EF
Deuteranopia (green-blind)
#558AE8
Tritanopia (blue-blind)
#B6799C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #bb5feb;
/* rgb */ color: rgb(187, 95, 235);
/* oklch */ color: oklch(65.3% 0.212 312.3);
Tailwind
colors: {
  custom: {
    50: '#d391f2',
    500: '#bb5feb',
    950: '#000000',
  },
}
SCSS
$custom: #bb5feb;
$custom-light: #d391f2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5feb",
  "rgb": {
    "r": 187,
    "g": 95,
    "b": 235
  },
  "hsl": {
    "h": 279.429,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.65331,
    "c": 0.21216,
    "h": 312.3
  },
  "luminance": 0.24747
}

Semantic roles & 50–950 ramp

primary
#BB5FEB
secondary
#CBEBBB
accent
#DA0B52
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #BB5FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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