#BB52EF#BB52EF

#BB52EF is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 64.0% C 0.234 H 312.4°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#BB52EF
RGBrgb(187, 82, 239)
HSLhsl(280, 83%, 63%)
HSVhsv(280, 66%, 94%)
CMYKcmyk(21.8%, 65.7%, 0%, 6.3%)
CIE-LABlab(54.90, 66.22, -61.18)
CIE-LCHlch(54.90, 90.16, 317.27°)
OKLaboklab(64.01% 0.1575 -0.1725)
OKLCHoklch(64.01% 0.234 312.4)
XYZxyz(39.0880, 22.8324, 83.9926)
Luminance0.2283 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52EF #86EF52
analogous
#6C52EF #BB52EF #EF52D5
triadic
#BB52EF #EFBB52 #52EFBB
tetradic
#BB52EF #EF6C52 #86EF52 #52D5EF
square
#BB52EF #EF6C52 #86EF52 #52D5EF
split-complementary
#BB52EF #D5EF52 #52EF6C
monochromatic
#7F11B6 #A51AEA #BB52EF #D18AF4 #E7C2F9

Accessibility & contrast

On white

3.77
#BB52EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#BB52EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB52EF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB52EF#FFFFFF#000000##000000
##BB52EF1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF4
Deuteranopia (green-blind)
#4486EB
Tritanopia (blue-blind)
#B5729A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #bb52ef;
/* rgb */ color: rgb(187, 82, 239);
/* oklch */ color: oklch(64.0% 0.234 312.4);
Tailwind
colors: {
  custom: {
    50: '#d48af5',
    500: '#bb52ef',
    950: '#000000',
  },
}
SCSS
$custom: #bb52ef;
$custom-light: #d48af5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52ef",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 239
  },
  "hsl": {
    "h": 280.127,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.64011,
    "c": 0.23358,
    "h": 312.4
  },
  "luminance": 0.22831
}

Semantic roles & 50–950 ramp

primary
#BB52EF
secondary
#C5EBB2
accent
#DF064E
background
#FDF8FF
surface
#FBF0FE
border
#D4CBD6
text
#150C17
muted
#837D85

Preview Lab

Preview with #BB52EF

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

Preview Lab → · Contrast checker → · Palette generator →

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