#BB52E6#BB52E6

#BB52E6 is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.4% C 0.225 H 314.6°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#BB52E6
RGBrgb(187, 82, 230)
HSLhsl(283, 75%, 61%)
HSVhsv(283, 64%, 90%)
CMYKcmyk(18.7%, 64.3%, 0%, 9.8%)
CIE-LABlab(54.36, 64.40, -57.00)
CIE-LCHlch(54.36, 86.00, 318.49°)
OKLaboklab(63.45% 0.158 -0.1602)
OKLCHoklch(63.45% 0.225 314.6)
XYZxyz(37.7914, 22.3138, 77.1638)
Luminance0.2231 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52E6 #7DE652
analogous
#7152E6 #BB52E6 #E652C7
triadic
#BB52E6 #E6BB52 #52E6BB
tetradic
#BB52E6 #E67152 #7DE652 #52C7E6
square
#BB52E6 #E67152 #7DE652 #52C7E6
split-complementary
#BB52E6 #C7E652 #52E671
monochromatic
#7C18A6 #A520DB #BB52E6 #D087EE #E5BDF5

Accessibility & contrast

On white

3.84
#BB52E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#BB52E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB52E6
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB52E6#FFFFFF#000000##000000
##BB52E61.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#087CEA
Deuteranopia (green-blind)
#4D85E3
Tritanopia (blue-blind)
#B76E95
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #bb52e6;
/* rgb */ color: rgb(187, 82, 230);
/* oklch */ color: oklch(63.4% 0.225 314.6);
Tailwind
colors: {
  custom: {
    50: '#d389ef',
    500: '#bb52e6',
    950: '#000000',
  },
}
SCSS
$custom: #bb52e6;
$custom-light: #d389ef;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52e6",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 230
  },
  "hsl": {
    "h": 282.568,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.63449,
    "c": 0.22501,
    "h": 314.6
  },
  "luminance": 0.22313
}

Semantic roles & 50–950 ramp

primary
#BB52E6
secondary
#BEE6AE
accent
#D70F49
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BB52E6

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

Preview Lab → · Contrast checker → · Palette generator →

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