#BB5FEA#BB5FEA

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

Color values

HEX#BB5FEA
RGBrgb(187, 95, 234)
HSLhsl(280, 77%, 65%)
HSVhsv(280, 59%, 92%)
CMYKcmyk(20.1%, 59.4%, 0%, 8.2%)
CIE-LABlab(56.77, 59.24, -55.39)
CIE-LCHlch(56.77, 81.10, 316.93°)
OKLaboklab(65.27% 0.1428 -0.1555)
OKLCHoklch(65.27% 0.211 312.5)
XYZxyz(39.4344, 24.6907, 80.5144)
Luminance0.2469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5FEA #8EEA5F
analogous
#755FEA #BB5FEA #EA5FD4
triadic
#BB5FEA #EABB5F #5FEABB
tetradic
#BB5FEA #EA755F #8EEA5F #5FD4EA
square
#BB5FEA #EA755F #8EEA5F #5FD4EA
split-complementary
#BB5FEA #D4EA5F #5FEA75
monochromatic
#8118B7 #A429E3 #BB5FEA #D295F1 #E9CBF8

Accessibility & contrast

On white

3.54
#BB5FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#BB5FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5FEA
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5FEA#FFFFFF#000000##000000
##BB5FEA1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E83EE
Deuteranopia (green-blind)
#568AE7
Tritanopia (blue-blind)
#B6789C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #bb5fea;
/* rgb */ color: rgb(187, 95, 234);
/* oklch */ color: oklch(65.3% 0.211 312.5);
Tailwind
colors: {
  custom: {
    50: '#d391f1',
    500: '#bb5fea',
    950: '#000000',
  },
}
SCSS
$custom: #bb5fea;
$custom-light: #d391f1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5fea",
  "rgb": {
    "r": 187,
    "g": 95,
    "b": 234
  },
  "hsl": {
    "h": 279.712,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.65271,
    "c": 0.21114,
    "h": 312.5
  },
  "luminance": 0.2469
}

Semantic roles & 50–950 ramp

primary
#BB5FEA
secondary
#CBEABA
accent
#D90C52
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #BB5FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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