#BB52C4#BB52C4

#BB52C4 is a mid, vivid purple. Relative luminance 0.206; OKLCH L 61.5% C 0.193 H 324.4°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#BB52C4
RGBrgb(187, 82, 196)
HSLhsl(295, 49%, 55%)
HSVhsv(295, 58%, 77%)
CMYKcmyk(4.6%, 58.2%, 0%, 23.1%)
CIE-LABlab(52.49, 57.86, -40.63)
CIE-LCHlch(52.49, 70.70, 324.92°)
OKLaboklab(61.5% 0.1574 -0.1125)
OKLCHoklch(61.5% 0.193 324.4)
XYZxyz(33.4738, 20.5867, 54.4243)
Luminance0.2059 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52C4 #5BC452
analogous
#8252C4 #BB52C4 #C45294
triadic
#BB52C4 #C4BB52 #52C4BB
tetradic
#BB52C4 #C48252 #5BC452 #5294C4
square
#BB52C4 #C48252 #5BC452 #5294C4
split-complementary
#BB52C4 #94C452 #52C482
monochromatic
#6E2874 #9937A2 #BB52C4 #CD80D4 #DFADE3

Accessibility & contrast

On white

4.10
#BB52C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#BB52C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB52C4
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB52C4#FFFFFF#000000##000000
##BB52C41.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4075C8
Deuteranopia (green-blind)
#6582C1
Tritanopia (blue-blind)
#BF6283
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #bb52c4;
/* rgb */ color: rgb(187, 82, 196);
/* oklch */ color: oklch(61.5% 0.193 324.4);
Tailwind
colors: {
  custom: {
    50: '#d288d6',
    500: '#bb52c4',
    950: '#000000',
  },
}
SCSS
$custom: #bb52c4;
$custom-light: #d288d6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52c4",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 196
  },
  "hsl": {
    "h": 295.263,
    "s": 49.138,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61495,
    "c": 0.19342,
    "h": 324.4
  },
  "luminance": 0.20585
}

Semantic roles & 50–950 ramp

primary
#BB52C4
secondary
#A5D1A1
accent
#D94F5A
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #BB52C4

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

Preview Lab → · Contrast checker → · Palette generator →

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