#BD52B2#BD52B2

#BD52B2 is a mid, vivid purple. Relative luminance 0.201; OKLCH L 60.8% C 0.179 H 331.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#BD52B2
RGBrgb(189, 82, 178)
HSLhsl(306, 45%, 53%)
HSVhsv(306, 57%, 74%)
CMYKcmyk(0%, 56.6%, 5.8%, 25.9%)
CIE-LABlab(51.92, 55.24, -31.10)
CIE-LCHlch(51.92, 63.39, 330.62°)
OKLaboklab(60.85% 0.1576 -0.085)
OKLCHoklch(60.85% 0.179 331.7)
XYZxyz(32.0393, 20.0699, 44.2972)
Luminance0.2007 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD52B2 #52BD5D
analogous
#9252BD #BD52B2 #BD527C
triadic
#BD52B2 #B2BD52 #52B2BD
tetradic
#BD52B2 #BD9252 #52BD5D #527CBD
square
#BD52B2 #BD9252 #52BD5D #527CBD
split-complementary
#BD52B2 #7CBD52 #52BD92
monochromatic
#6C2965 #983A8E #BD52B2 #CE7EC6 #DFABD9

Accessibility & contrast

On white

4.19
#BD52B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#BD52B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD52B2
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD52B2#FFFFFF#000000##000000
##BD52B21.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D72B5
Deuteranopia (green-blind)
#6F81AF
Tritanopia (blue-blind)
#C45B7A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bd52b2;
/* rgb */ color: rgb(189, 82, 178);
/* oklch */ color: oklch(60.8% 0.179 331.7);
Tailwind
colors: {
  custom: {
    50: '#d388c9',
    500: '#bd52b2',
    950: '#000000',
  },
}
SCSS
$custom: #bd52b2;
$custom-light: #d388c9;
$custom-dark: #000000;
JSON
{
  "hex": "#bd52b2",
  "rgb": {
    "r": 189,
    "g": 82,
    "b": 178
  },
  "hsl": {
    "h": 306.168,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60849,
    "c": 0.17904,
    "h": 331.7
  },
  "luminance": 0.20068
}

Semantic roles & 50–950 ramp

primary
#BD52B2
secondary
#9ECCA3
accent
#D46153
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BD52B2

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

Preview Lab → · Contrast checker → · Palette generator →

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