#BB52D1#BB52D1

#BB52D1 is a light, highly saturated purple. Relative luminance 0.212; OKLCH L 62.2% C 0.205 H 320.3°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#BB52D1
RGBrgb(187, 82, 209)
HSLhsl(290, 58%, 57%)
HSVhsv(290, 61%, 82%)
CMYKcmyk(10.5%, 60.8%, 0%, 18%)
CIE-LABlab(53.17, 60.29, -47.00)
CIE-LCHlch(53.17, 76.44, 322.06°)
OKLaboklab(62.21% 0.1581 -0.131)
OKLCHoklch(62.21% 0.205 320.3)
XYZxyz(35.0180, 21.2045, 62.5576)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52D1 #68D152
analogous
#7B52D1 #BB52D1 #D152A8
triadic
#BB52D1 #D1BB52 #52D1BB
tetradic
#BB52D1 #D17B52 #68D152 #52A8D1
square
#BB52D1 #D17B52 #68D152 #52A8D1
split-complementary
#BB52D1 #A8D152 #52D17B
monochromatic
#742385 #9E30B6 #BB52D1 #CE82DE #E1B3EB

Accessibility & contrast

On white

4.01
#BB52D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#BB52D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB52D1
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB52D1#FFFFFF#000000##000000
##BB52D11.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3478D5
Deuteranopia (green-blind)
#5D83CE
Tritanopia (blue-blind)
#BC668A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #bb52d1;
/* rgb */ color: rgb(187, 82, 209);
/* oklch */ color: oklch(62.2% 0.205 320.3);
Tailwind
colors: {
  custom: {
    50: '#d289df',
    500: '#bb52d1',
    950: '#000000',
  },
}
SCSS
$custom: #bb52d1;
$custom-light: #d289df;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52d1",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 209
  },
  "hsl": {
    "h": 289.606,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.62209,
    "c": 0.20529,
    "h": 320.3
  },
  "luminance": 0.21203
}

Semantic roles & 50–950 ramp

primary
#BB52D1
secondary
#AFD9A6
accent
#E14761
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BB52D1

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

Preview Lab → · Contrast checker → · Palette generator →

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