#BB52C0#BB52C0

#BB52C0 is a mid, vivid purple. Relative luminance 0.204; OKLCH L 61.3% C 0.190 H 325.8°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#BB52C0
RGBrgb(187, 82, 192)
HSLhsl(297, 47%, 54%)
HSVhsv(297, 57%, 75%)
CMYKcmyk(2.6%, 57.3%, 0%, 24.7%)
CIE-LABlab(52.29, 57.14, -38.64)
CIE-LCHlch(52.29, 68.98, 325.93°)
OKLaboklab(61.28% 0.157 -0.1067)
OKLCHoklch(61.28% 0.19 325.8)
XYZxyz(33.0245, 20.4071, 52.0584)
Luminance0.2041 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52C0 #57C052
analogous
#8452C0 #BB52C0 #C0528E
triadic
#BB52C0 #C0BB52 #52C0BB
tetradic
#BB52C0 #C08452 #57C052 #528EC0
square
#BB52C0 #C08452 #57C052 #528EC0
split-complementary
#BB52C0 #8EC052 #52C084
monochromatic
#6C286F #97399C #BB52C0 #CD7FD0 #DEACE1

Accessibility & contrast

On white

4.13
#BB52C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#BB52C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB52C0
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB52C0#FFFFFF#000000##000000
##BB52C01.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4374C3
Deuteranopia (green-blind)
#6781BD
Tritanopia (blue-blind)
#BF6081
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #bb52c0;
/* rgb */ color: rgb(187, 82, 192);
/* oklch */ color: oklch(61.3% 0.190 325.8);
Tailwind
colors: {
  custom: {
    50: '#d288d3',
    500: '#bb52c0',
    950: '#000000',
  },
}
SCSS
$custom: #bb52c0;
$custom-light: #d288d3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52c0",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 192
  },
  "hsl": {
    "h": 297.273,
    "s": 46.61,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61284,
    "c": 0.18985,
    "h": 325.8
  },
  "luminance": 0.20405
}

Semantic roles & 50–950 ramp

primary
#BB52C0
secondary
#A2CE9F
accent
#D65258
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #BB52C0

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

Preview Lab → · Contrast checker → · Palette generator →

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