#BD52BA#BD52BA

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

Color values

HEX#BD52BA
RGBrgb(189, 82, 186)
HSLhsl(302, 45%, 53%)
HSVhsv(302, 57%, 74%)
CMYKcmyk(0%, 56.6%, 1.6%, 25.9%)
CIE-LABlab(52.29, 56.60, -35.16)
CIE-LCHlch(52.29, 66.64, 328.15°)
OKLaboklab(61.24% 0.1586 -0.0967)
OKLCHoklch(61.24% 0.186 328.6)
XYZxyz(32.8661, 20.4007, 48.6515)
Luminance0.2040 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD52BA #52BD55
analogous
#8A52BD #BD52BA #BD5284
triadic
#BD52BA #BABD52 #52BABD
tetradic
#BD52BA #BD8A52 #52BD55 #5284BD
square
#BD52BA #BD8A52 #52BD55 #5284BD
split-complementary
#BD52BA #84BD52 #52BD8A
monochromatic
#6C296A #983A95 #BD52BA #CE7ECC #DFABDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BD52BA#FFFFFF#000000##000000
##BD52BA1.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)
#4974BD
Deuteranopia (green-blind)
#6B82B7
Tritanopia (blue-blind)
#C35E7E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #bd52ba;
/* rgb */ color: rgb(189, 82, 186);
/* oklch */ color: oklch(61.2% 0.186 328.6);
Tailwind
colors: {
  custom: {
    50: '#d488cf',
    500: '#bd52ba',
    950: '#000000',
  },
}
SCSS
$custom: #bd52ba;
$custom-light: #d488cf;
$custom-dark: #000000;
JSON
{
  "hex": "#bd52ba",
  "rgb": {
    "r": 189,
    "g": 82,
    "b": 186
  },
  "hsl": {
    "h": 301.682,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61242,
    "c": 0.18577,
    "h": 328.6
  },
  "luminance": 0.20399
}

Semantic roles & 50–950 ramp

primary
#BD52BA
secondary
#9ECCA0
accent
#D45753
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BD52BA

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

Preview Lab → · Contrast checker → · Palette generator →

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