#BB5FDD#BB5FDD

#BB5FDD is a light, vivid purple. Relative luminance 0.240; OKLCH L 64.5% C 0.198 H 316.0°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#BB5FDD
RGBrgb(187, 95, 221)
HSLhsl(284, 65%, 62%)
HSVhsv(284, 57%, 87%)
CMYKcmyk(15.4%, 57%, 0%, 13.3%)
CIE-LABlab(56.06, 56.56, -49.22)
CIE-LCHlch(56.06, 74.98, 318.97°)
OKLaboklab(64.52% 0.1424 -0.1375)
OKLCHoklch(64.52% 0.198 316)
XYZxyz(37.6349, 23.9709, 71.0370)
Luminance0.2397 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5FDD #81DD5F
analogous
#7C5FDD #BB5FDD #DD5FC0
triadic
#BB5FDD #DDBB5F #5FDDBB
tetradic
#BB5FDD #DD7C5F #81DD5F #5FC0DD
square
#BB5FDD #DD7C5F #81DD5F #5FC0DD
split-complementary
#BB5FDD #C0DD5F #5FDD7C
monochromatic
#7E22A0 #A52DD2 #BB5FDD #D091E8 #E6C4F2

Accessibility & contrast

On white

3.62
#BB5FDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#BB5FDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5FDD
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5FDD#FFFFFF#000000##000000
##BB5FDD1.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E81E1
Deuteranopia (green-blind)
#6089DA
Tritanopia (blue-blind)
#B97495
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #bb5fdd;
/* rgb */ color: rgb(187, 95, 221);
/* oklch */ color: oklch(64.5% 0.198 316.0);
Tailwind
colors: {
  custom: {
    50: '#d291e8',
    500: '#bb5fdd',
    950: '#000000',
  },
}
SCSS
$custom: #bb5fdd;
$custom-light: #d291e8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5fdd",
  "rgb": {
    "r": 187,
    "g": 95,
    "b": 221
  },
  "hsl": {
    "h": 283.81,
    "s": 64.948,
    "l": 61.961
  },
  "oklch": {
    "l": 0.6452,
    "c": 0.19801,
    "h": 316
  },
  "luminance": 0.2397
}

Semantic roles & 50–950 ramp

primary
#BB5FDD
secondary
#C1E3B5
accent
#CD1949
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BB5FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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