#BB52D2#BB52D2

#BB52D2 is a light, highly saturated purple. Relative luminance 0.213; OKLCH L 62.3% C 0.206 H 320.1°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#BB52D2
RGBrgb(187, 82, 210)
HSLhsl(289, 59%, 57%)
HSVhsv(289, 61%, 82%)
CMYKcmyk(11%, 61%, 0%, 17.6%)
CIE-LABlab(53.23, 60.48, -47.49)
CIE-LCHlch(53.23, 76.89, 321.86°)
OKLaboklab(62.27% 0.1581 -0.1324)
OKLCHoklch(62.27% 0.206 320.1)
XYZxyz(35.1422, 21.2541, 63.2116)
Luminance0.2125 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52D2 #69D252
analogous
#7B52D2 #BB52D2 #D252A9
triadic
#BB52D2 #D2BB52 #52D2BB
tetradic
#BB52D2 #D27B52 #69D252 #52A9D2
square
#BB52D2 #D27B52 #69D252 #52A9D2
split-complementary
#BB52D2 #A9D252 #52D27B
monochromatic
#752387 #9F30B7 #BB52D2 #CE83DF #E1B3EB

Accessibility & contrast

On white

4.00
#BB52D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#BB52D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB52D2
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB52D2#FFFFFF#000000##000000
##BB52D21.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3278D6
Deuteranopia (green-blind)
#5C83CF
Tritanopia (blue-blind)
#BC678B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #bb52d2;
/* rgb */ color: rgb(187, 82, 210);
/* oklch */ color: oklch(62.3% 0.206 320.1);
Tailwind
colors: {
  custom: {
    50: '#d389e0',
    500: '#bb52d2',
    950: '#000000',
  },
}
SCSS
$custom: #bb52d2;
$custom-light: #d389e0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52d2",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 289.219,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.62265,
    "c": 0.20622,
    "h": 320.1
  },
  "luminance": 0.21253
}

Semantic roles & 50–950 ramp

primary
#BB52D2
secondary
#AFDAA6
accent
#E24662
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BB52D2

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

Preview Lab → · Contrast checker → · Palette generator →

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