#BB52ED#BB52ED

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

Color values

HEX#BB52ED
RGBrgb(187, 82, 237)
HSLhsl(281, 81%, 63%)
HSVhsv(281, 65%, 93%)
CMYKcmyk(21.1%, 65.4%, 0%, 7.1%)
CIE-LABlab(54.78, 65.82, -60.26)
CIE-LCHlch(54.78, 89.24, 317.52°)
OKLaboklab(63.88% 0.1576 -0.1698)
OKLCHoklch(63.88% 0.232 312.9)
XYZxyz(38.7942, 22.7149, 82.4452)
Luminance0.2271 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52ED #84ED52
analogous
#6D52ED #BB52ED #ED52D2
triadic
#BB52ED #EDBB52 #52EDBB
tetradic
#BB52ED #ED6D52 #84ED52 #52D2ED
square
#BB52ED #ED6D52 #84ED52 #52D2ED
split-complementary
#BB52ED #D2ED52 #52ED6D
monochromatic
#7F13B2 #A51BE7 #BB52ED #D189F3 #E7C1F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB52ED#FFFFFF#000000##000000
##BB52ED1.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)
#007EF2
Deuteranopia (green-blind)
#4685E9
Tritanopia (blue-blind)
#B67199
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #bb52ed;
/* rgb */ color: rgb(187, 82, 237);
/* oklch */ color: oklch(63.9% 0.232 312.9);
Tailwind
colors: {
  custom: {
    50: '#d389f4',
    500: '#bb52ed',
    950: '#000000',
  },
}
SCSS
$custom: #bb52ed;
$custom-light: #d389f4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52ed",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 237
  },
  "hsl": {
    "h": 280.645,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.63884,
    "c": 0.23167,
    "h": 312.9
  },
  "luminance": 0.22714
}

Semantic roles & 50–950 ramp

primary
#BB52ED
secondary
#C3EAB1
accent
#DE084D
background
#FDF8FF
surface
#FAF0FE
border
#D3CBD6
text
#150C17
muted
#837D85

Preview Lab

Preview with #BB52ED

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

Preview Lab → · Contrast checker → · Palette generator →

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