#BB5CE7#BB5CE7

#BB5CE7 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 64.7% C 0.212 H 313.6°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#BB5CE7
RGBrgb(187, 92, 231)
HSLhsl(281, 74%, 63%)
HSVhsv(281, 60%, 91%)
CMYKcmyk(19%, 60.2%, 0%, 9.4%)
CIE-LABlab(56.08, 60.05, -54.82)
CIE-LCHlch(56.08, 81.30, 317.61°)
OKLaboklab(64.71% 0.1464 -0.1539)
OKLCHoklch(64.71% 0.212 313.6)
XYZxyz(38.7420, 23.9897, 78.1755)
Luminance0.2399 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5CE7 #88E75C
analogous
#755CE7 #BB5CE7 #E75CCE
triadic
#BB5CE7 #E7BB5C #5CE7BB
tetradic
#BB5CE7 #E7755C #88E75C #5CCEE7
square
#BB5CE7 #E7755C #88E75C #5CCEE7
split-complementary
#BB5CE7 #CEE75C #5CE775
monochromatic
#801AAF #A527DF #BB5CE7 #D191EF #E8C7F7

Accessibility & contrast

On white

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

On black

5.80
#BB5CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5CE7
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5CE7#FFFFFF#000000##000000
##BB5CE71.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B81EB
Deuteranopia (green-blind)
#5689E4
Tritanopia (blue-blind)
#B77599
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #bb5ce7;
/* rgb */ color: rgb(187, 92, 231);
/* oklch */ color: oklch(64.7% 0.212 313.6);
Tailwind
colors: {
  custom: {
    50: '#d38fef',
    500: '#bb5ce7',
    950: '#000000',
  },
}
SCSS
$custom: #bb5ce7;
$custom-light: #d38fef;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5ce7",
  "rgb": {
    "r": 187,
    "g": 92,
    "b": 231
  },
  "hsl": {
    "h": 281.007,
    "s": 74.332,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64711,
    "c": 0.21237,
    "h": 313.6
  },
  "luminance": 0.23989
}

Semantic roles & 50–950 ramp

primary
#BB5CE7
secondary
#C6E8B7
accent
#D60F4E
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BB5CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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