#BB52E4#BB52E4

#BB52E4 is a light, highly saturated purple. Relative luminance 0.222; OKLCH L 63.3% C 0.223 H 315.1°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#BB52E4
RGBrgb(187, 82, 228)
HSLhsl(283, 73%, 61%)
HSVhsv(283, 64%, 89%)
CMYKcmyk(18%, 64%, 0%, 10.6%)
CIE-LABlab(54.24, 64.00, -56.07)
CIE-LCHlch(54.24, 85.08, 318.78°)
OKLaboklab(63.33% 0.1581 -0.1575)
OKLCHoklch(63.33% 0.223 315.1)
XYZxyz(37.5122, 22.2021, 75.6932)
Luminance0.2220 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52E4 #7BE452
analogous
#7252E4 #BB52E4 #E452C4
triadic
#BB52E4 #E4BB52 #52E4BB
tetradic
#BB52E4 #E47252 #7BE452 #52C4E4
square
#BB52E4 #E47252 #7BE452 #52C4E4
split-complementary
#BB52E4 #C4E452 #52E472
monochromatic
#7C19A2 #A422D7 #BB52E4 #D087EC #E5BCF5

Accessibility & contrast

On white

3.86
#BB52E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#BB52E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB52E4
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB52E4#FFFFFF#000000##000000
##BB52E41.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#117CE8
Deuteranopia (green-blind)
#4F85E1
Tritanopia (blue-blind)
#B86D94
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #bb52e4;
/* rgb */ color: rgb(187, 82, 228);
/* oklch */ color: oklch(63.3% 0.223 315.1);
Tailwind
colors: {
  custom: {
    50: '#d389ed',
    500: '#bb52e4',
    950: '#000000',
  },
}
SCSS
$custom: #bb52e4;
$custom-light: #d389ed;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52e4",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 228
  },
  "hsl": {
    "h": 283.151,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.63326,
    "c": 0.22311,
    "h": 315.1
  },
  "luminance": 0.22201
}

Semantic roles & 50–950 ramp

primary
#BB52E4
secondary
#BDE5AD
accent
#D51048
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BB52E4

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

Preview Lab → · Contrast checker → · Palette generator →

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