#BB5CE5#BB5CE5

#BB5CE5 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 64.6% C 0.210 H 314.1°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#BB5CE5
RGBrgb(187, 92, 229)
HSLhsl(282, 72%, 63%)
HSVhsv(282, 60%, 90%)
CMYKcmyk(18.3%, 59.8%, 0%, 10.2%)
CIE-LABlab(55.96, 59.63, -53.87)
CIE-LCHlch(55.96, 80.37, 317.90°)
OKLaboklab(64.59% 0.1464 -0.1511)
OKLCHoklch(64.59% 0.21 314.1)
XYZxyz(38.4612, 23.8774, 76.6963)
Luminance0.2388 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5CE5 #86E55C
analogous
#765CE5 #BB5CE5 #E55CCA
triadic
#BB5CE5 #E5BB5C #5CE5BB
tetradic
#BB5CE5 #E5765C #86E55C #5CCAE5
square
#BB5CE5 #E5765C #86E55C #5CCAE5
split-complementary
#BB5CE5 #CAE55C #5CE576
monochromatic
#7F1BAB #A527DD #BB5CE5 #D191ED #E7C6F6

Accessibility & contrast

On white

3.64
#BB5CE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#BB5CE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5CE5
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5CE5#FFFFFF#000000##000000
##BB5CE51.003.645.785.78
#FFFFFF3.641.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E81E9
Deuteranopia (green-blind)
#5789E2
Tritanopia (blue-blind)
#B77598
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #bb5ce5;
/* rgb */ color: rgb(187, 92, 229);
/* oklch */ color: oklch(64.6% 0.210 314.1);
Tailwind
colors: {
  custom: {
    50: '#d38fee',
    500: '#bb5ce5',
    950: '#000000',
  },
}
SCSS
$custom: #bb5ce5;
$custom-light: #d38fee;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5ce5",
  "rgb": {
    "r": 187,
    "g": 92,
    "b": 229
  },
  "hsl": {
    "h": 281.606,
    "s": 72.487,
    "l": 62.941
  },
  "oklch": {
    "l": 0.64593,
    "c": 0.21037,
    "h": 314.1
  },
  "luminance": 0.23876
}

Semantic roles & 50–950 ramp

primary
#BB5CE5
secondary
#C5E7B6
accent
#D5114D
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BB5CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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