#BB5ED8#BB5ED8

#BB5ED8 is a light, vivid purple. Relative luminance 0.235; OKLCH L 64.1% C 0.195 H 317.5°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#BB5ED8
RGBrgb(187, 94, 216)
HSLhsl(286, 61%, 61%)
HSVhsv(286, 56%, 85%)
CMYKcmyk(13.4%, 56.5%, 0%, 15.3%)
CIE-LABlab(55.61, 56.04, -47.11)
CIE-LCHlch(55.61, 73.21, 319.95°)
OKLaboklab(64.11% 0.1434 -0.1314)
OKLCHoklch(64.11% 0.195 317.5)
XYZxyz(36.8891, 23.5294, 67.5509)
Luminance0.2353 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5ED8 #7BD85E
analogous
#7E5ED8 #BB5ED8 #D85EB8
triadic
#BB5ED8 #D8BB5E #5ED8BB
tetradic
#BB5ED8 #D87E5E #7BD85E #5EB8D8
square
#BB5ED8 #D87E5E #7BD85E #5EB8D8
split-complementary
#BB5ED8 #B8D85E #5ED87E
monochromatic
#7C2597 #A431C8 #BB5ED8 #D08FE4 #E5C1F0

Accessibility & contrast

On white

3.68
#BB5ED8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#BB5ED8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5ED8
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5ED8#FFFFFF#000000##000000
##BB5ED81.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#417FDC
Deuteranopia (green-blind)
#6288D5
Tritanopia (blue-blind)
#BA7192
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #bb5ed8;
/* rgb */ color: rgb(187, 94, 216);
/* oklch */ color: oklch(64.1% 0.195 317.5);
Tailwind
colors: {
  custom: {
    50: '#d290e4',
    500: '#bb5ed8',
    950: '#000000',
  },
}
SCSS
$custom: #bb5ed8;
$custom-light: #d290e4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5ed8",
  "rgb": {
    "r": 187,
    "g": 94,
    "b": 216
  },
  "hsl": {
    "h": 285.738,
    "s": 61,
    "l": 60.784
  },
  "oklch": {
    "l": 0.64109,
    "c": 0.19451,
    "h": 317.5
  },
  "luminance": 0.23528
}

Semantic roles & 50–950 ramp

primary
#BB5ED8
secondary
#BDE0B2
accent
#C91D46
background
#FDF9FE
surface
#FAF1FC
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BB5ED8

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

Preview Lab → · Contrast checker → · Palette generator →

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