#BB5FE7#BB5FE7

#BB5FE7 is a light, highly saturated purple. Relative luminance 0.245; OKLCH L 65.1% C 0.208 H 313.3°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#BB5FE7
RGBrgb(187, 95, 231)
HSLhsl(281, 74%, 64%)
HSVhsv(281, 59%, 91%)
CMYKcmyk(19%, 58.9%, 0%, 9.4%)
CIE-LABlab(56.60, 58.62, -53.98)
CIE-LCHlch(56.60, 79.68, 317.36°)
OKLaboklab(65.1% 0.1427 -0.1514)
OKLCHoklch(65.1% 0.208 313.3)
XYZxyz(39.0071, 24.5198, 78.2638)
Luminance0.2452 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5FE7 #8BE75F
analogous
#775FE7 #BB5FE7 #E75FCF
triadic
#BB5FE7 #E7BB5F #5FE7BB
tetradic
#BB5FE7 #E7775F #8BE75F #5FCFE7
square
#BB5FE7 #E7775F #8BE75F #5FCFE7
split-complementary
#BB5FE7 #CFE75F #5FE777
monochromatic
#801BB1 #A42ADF #BB5FE7 #D294EF #E8C9F7

Accessibility & contrast

On white

3.56
#BB5FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#BB5FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5FE7
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5FE7#FFFFFF#000000##000000
##BB5FE71.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3283EB
Deuteranopia (green-blind)
#598AE4
Tritanopia (blue-blind)
#B7779A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #bb5fe7;
/* rgb */ color: rgb(187, 95, 231);
/* oklch */ color: oklch(65.1% 0.208 313.3);
Tailwind
colors: {
  custom: {
    50: '#d391ef',
    500: '#bb5fe7',
    950: '#000000',
  },
}
SCSS
$custom: #bb5fe7;
$custom-light: #d391ef;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5fe7",
  "rgb": {
    "r": 187,
    "g": 95,
    "b": 231
  },
  "hsl": {
    "h": 280.588,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.65095,
    "c": 0.20809,
    "h": 313.3
  },
  "luminance": 0.24519
}

Semantic roles & 50–950 ramp

primary
#BB5FE7
secondary
#C8E9B9
accent
#D60F50
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BB5FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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