#BB58DC#BB58DC

#BB58DC is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 63.6% C 0.207 H 316.8°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#BB58DC
RGBrgb(187, 88, 220)
HSLhsl(285, 65%, 60%)
HSVhsv(285, 60%, 86%)
CMYKcmyk(15%, 60%, 0%, 13.7%)
CIE-LABlab(54.78, 59.69, -50.70)
CIE-LCHlch(54.78, 78.31, 319.65°)
OKLaboklab(63.57% 0.1511 -0.1418)
OKLCHoklch(63.57% 0.207 316.8)
XYZxyz(36.8996, 22.7129, 70.1366)
Luminance0.2271 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB58DC #79DC58
analogous
#7958DC #BB58DC #DC58BB
triadic
#BB58DC #DCBB58 #58DCBB
tetradic
#BB58DC #DC7958 #79DC58 #58BBDC
square
#BB58DC #DC7958 #79DC58 #58BBDC
split-complementary
#BB58DC #BBDC58 #58DC79
monochromatic
#7B2099 #A42BCC #BB58DC #D08BE7 #E4BDF1

Accessibility & contrast

On white

3.79
#BB58DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#BB58DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB58DC
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB58DC#FFFFFF#000000##000000
##BB58DC1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#327DE0
Deuteranopia (green-blind)
#5A86D9
Tritanopia (blue-blind)
#BA6F92
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #bb58dc;
/* rgb */ color: rgb(187, 88, 220);
/* oklch */ color: oklch(63.6% 0.207 316.8);
Tailwind
colors: {
  custom: {
    50: '#d38ce7',
    500: '#bb58dc',
    950: '#000000',
  },
}
SCSS
$custom: #bb58dc;
$custom-light: #d38ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb58dc",
  "rgb": {
    "r": 187,
    "g": 88,
    "b": 220
  },
  "hsl": {
    "h": 285,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.63567,
    "c": 0.20721,
    "h": 316.8
  },
  "luminance": 0.22712
}

Semantic roles & 50–950 ramp

primary
#BB58DC
secondary
#BBE1AF
accent
#CD1846
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #BB58DC

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

Preview Lab → · Contrast checker → · Palette generator →

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