#BB5FE4#BB5FE4

#BB5FE4 is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 64.9% C 0.205 H 314.1°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#BB5FE4
RGBrgb(187, 95, 228)
HSLhsl(282, 71%, 63%)
HSVhsv(282, 58%, 89%)
CMYKcmyk(18%, 58.3%, 0%, 10.6%)
CIE-LABlab(56.44, 58.00, -52.56)
CIE-LCHlch(56.44, 78.27, 317.82°)
OKLaboklab(64.92% 0.1427 -0.1473)
OKLCHoklch(64.92% 0.205 314.1)
XYZxyz(38.5870, 24.3518, 76.0514)
Luminance0.2435 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5FE4 #88E45F
analogous
#785FE4 #BB5FE4 #E45FCA
triadic
#BB5FE4 #E4BB5F #5FE4BB
tetradic
#BB5FE4 #E4785F #88E45F #5FCAE4
square
#BB5FE4 #E4785F #88E45F #5FCAE4
split-complementary
#BB5FE4 #CAE45F #5FE478
monochromatic
#801DAC #A52BDB #BB5FE4 #D193ED #E8C8F6

Accessibility & contrast

On white

3.58
#BB5FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#BB5FE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5FE4
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5FE4#FFFFFF#000000##000000
##BB5FE41.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3682E8
Deuteranopia (green-blind)
#5B8AE1
Tritanopia (blue-blind)
#B87699
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #bb5fe4;
/* rgb */ color: rgb(187, 95, 228);
/* oklch */ color: oklch(64.9% 0.205 314.1);
Tailwind
colors: {
  custom: {
    50: '#d391ed',
    500: '#bb5fe4',
    950: '#000000',
  },
}
SCSS
$custom: #bb5fe4;
$custom-light: #d391ed;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5fe4",
  "rgb": {
    "r": 187,
    "g": 95,
    "b": 228
  },
  "hsl": {
    "h": 281.504,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6492,
    "c": 0.20506,
    "h": 314.1
  },
  "luminance": 0.24351
}

Semantic roles & 50–950 ramp

primary
#BB5FE4
secondary
#C6E7B8
accent
#D3124E
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BB5FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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