#BB5FE5#BB5FE5

#BB5FE5 is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.0% C 0.206 H 313.8°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#BB5FE5
RGBrgb(187, 95, 229)
HSLhsl(281, 72%, 64%)
HSVhsv(281, 59%, 90%)
CMYKcmyk(18.3%, 58.5%, 0%, 10.2%)
CIE-LABlab(56.49, 58.20, -53.03)
CIE-LCHlch(56.49, 78.74, 317.66°)
OKLaboklab(64.98% 0.1427 -0.1487)
OKLCHoklch(64.98% 0.206 313.8)
XYZxyz(38.7262, 24.4075, 76.7847)
Luminance0.2441 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5FE5 #89E55F
analogous
#785FE5 #BB5FE5 #E55FCC
triadic
#BB5FE5 #E5BB5F #5FE5BB
tetradic
#BB5FE5 #E5785F #89E55F #5FCCE5
square
#BB5FE5 #E5785F #89E55F #5FCCE5
split-complementary
#BB5FE5 #CCE55F #5FE578
monochromatic
#801CAD #A52ADC #BB5FE5 #D194EE #E8C8F6

Accessibility & contrast

On white

3.57
#BB5FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#BB5FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5FE5
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5FE5#FFFFFF#000000##000000
##BB5FE51.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3582E9
Deuteranopia (green-blind)
#5A8AE2
Tritanopia (blue-blind)
#B77799
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #bb5fe5;
/* rgb */ color: rgb(187, 95, 229);
/* oklch */ color: oklch(65.0% 0.206 313.8);
Tailwind
colors: {
  custom: {
    50: '#d391ee',
    500: '#bb5fe5',
    950: '#000000',
  },
}
SCSS
$custom: #bb5fe5;
$custom-light: #d391ee;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5fe5",
  "rgb": {
    "r": 187,
    "g": 95,
    "b": 229
  },
  "hsl": {
    "h": 281.194,
    "s": 72.043,
    "l": 63.529
  },
  "oklch": {
    "l": 0.64978,
    "c": 0.20607,
    "h": 313.8
  },
  "luminance": 0.24406
}

Semantic roles & 50–950 ramp

primary
#BB5FE5
secondary
#C7E8B8
accent
#D4114E
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BB5FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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