#BD52B6#BD52B6

#BD52B6 is a mid, vivid purple. Relative luminance 0.202; OKLCH L 61.0% C 0.182 H 330.1°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#BD52B6
RGBrgb(189, 82, 182)
HSLhsl(304, 45%, 53%)
HSVhsv(304, 57%, 74%)
CMYKcmyk(0%, 56.6%, 3.7%, 25.9%)
CIE-LABlab(52.10, 55.91, -33.14)
CIE-LCHlch(52.10, 65.00, 329.35°)
OKLaboklab(61.04% 0.1581 -0.0908)
OKLCHoklch(61.04% 0.182 330.1)
XYZxyz(32.4468, 20.2329, 46.4432)
Luminance0.2023 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD52B6 #52BD59
analogous
#8E52BD #BD52B6 #BD5280
triadic
#BD52B6 #B6BD52 #52B6BD
tetradic
#BD52B6 #BD8E52 #52BD59 #5280BD
square
#BD52B6 #BD8E52 #52BD59 #5280BD
split-complementary
#BD52B6 #80BD52 #52BD8E
monochromatic
#6C2967 #983A92 #BD52B6 #CE7EC9 #DFABDB

Accessibility & contrast

On white

4.16
#BD52B6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#BD52B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD52B6
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD52B6#FFFFFF#000000##000000
##BD52B61.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B73B9
Deuteranopia (green-blind)
#6D82B3
Tritanopia (blue-blind)
#C35C7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #bd52b6;
/* rgb */ color: rgb(189, 82, 182);
/* oklch */ color: oklch(61.0% 0.182 330.1);
Tailwind
colors: {
  custom: {
    50: '#d388cc',
    500: '#bd52b6',
    950: '#000000',
  },
}
SCSS
$custom: #bd52b6;
$custom-light: #d388cc;
$custom-dark: #000000;
JSON
{
  "hex": "#bd52b6",
  "rgb": {
    "r": 189,
    "g": 82,
    "b": 182
  },
  "hsl": {
    "h": 303.925,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.61044,
    "c": 0.18237,
    "h": 330.1
  },
  "luminance": 0.20231
}

Semantic roles & 50–950 ramp

primary
#BD52B6
secondary
#9ECCA1
accent
#D45C53
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C13
muted
#837D82

Preview Lab

Preview with #BD52B6

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

Preview Lab → · Contrast checker → · Palette generator →

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