#BB52CD#BB52CD

#BB52CD is a mid, highly saturated purple. Relative luminance 0.210; OKLCH L 62.0% C 0.202 H 321.6°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#BB52CD
RGBrgb(187, 82, 205)
HSLhsl(291, 55%, 56%)
HSVhsv(291, 60%, 80%)
CMYKcmyk(8.8%, 60%, 0%, 19.6%)
CIE-LABlab(52.96, 59.53, -45.06)
CIE-LCHlch(52.96, 74.66, 322.88°)
OKLaboklab(61.99% 0.1579 -0.1253)
OKLCHoklch(61.99% 0.202 321.6)
XYZxyz(34.5290, 21.0089, 59.9821)
Luminance0.2101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB52CD #64CD52
analogous
#7E52CD #BB52CD #CD52A2
triadic
#BB52CD #CDBB52 #52CDBB
tetradic
#BB52CD #CD7E52 #64CD52 #52A2CD
square
#BB52CD #CD7E52 #64CD52 #52A2CD
split-complementary
#BB52CD #A2CD52 #52CD7E
monochromatic
#722580 #9D33AF #BB52CD #CE81DB #E0B1E8

Accessibility & contrast

On white

4.04
#BB52CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#BB52CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB52CD
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB52CD#FFFFFF#000000##000000
##BB52CD1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3877D1
Deuteranopia (green-blind)
#6082CA
Tritanopia (blue-blind)
#BD6588
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bb52cd;
/* rgb */ color: rgb(187, 82, 205);
/* oklch */ color: oklch(62.0% 0.202 321.6);
Tailwind
colors: {
  custom: {
    50: '#d289dd',
    500: '#bb52cd',
    950: '#000000',
  },
}
SCSS
$custom: #bb52cd;
$custom-light: #d289dd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb52cd",
  "rgb": {
    "r": 187,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 291.22,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61985,
    "c": 0.2016,
    "h": 321.6
  },
  "luminance": 0.21007
}

Semantic roles & 50–950 ramp

primary
#BB52CD
secondary
#ABD7A4
accent
#DE495F
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BB52CD

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

Preview Lab → · Contrast checker → · Palette generator →

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