#BD52C2#BD52C2

#BD52C2 is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.7% C 0.193 H 325.8°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#BD52C2
RGBrgb(189, 82, 194)
HSLhsl(297, 48%, 54%)
HSVhsv(297, 58%, 76%)
CMYKcmyk(2.6%, 57.7%, 0%, 23.9%)
CIE-LABlab(52.68, 58.02, -39.17)
CIE-LCHlch(52.68, 70.00, 325.97°)
OKLaboklab(61.65% 0.1595 -0.1082)
OKLCHoklch(61.65% 0.193 325.8)
XYZxyz(33.7405, 20.7504, 53.2565)
Luminance0.2075 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD52C2 #57C252
analogous
#8552C2 #BD52C2 #C2528F
triadic
#BD52C2 #C2BD52 #52C2BD
tetradic
#BD52C2 #C28552 #57C252 #528FC2
square
#BD52C2 #C28552 #57C252 #528FC2
split-complementary
#BD52C2 #8FC252 #52C285
monochromatic
#6E2872 #9A389F #BD52C2 #CE7FD2 #E0ACE2

Accessibility & contrast

On white

4.08
#BD52C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#BD52C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD52C2
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD52C2#FFFFFF#000000##000000
##BD52C21.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4375C5
Deuteranopia (green-blind)
#6782BF
Tritanopia (blue-blind)
#C16182
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #bd52c2;
/* rgb */ color: rgb(189, 82, 194);
/* oklch */ color: oklch(61.7% 0.193 325.8);
Tailwind
colors: {
  custom: {
    50: '#d488d5',
    500: '#bd52c2',
    950: '#000000',
  },
}
SCSS
$custom: #bd52c2;
$custom-light: #d488d5;
$custom-dark: #000000;
JSON
{
  "hex": "#bd52c2",
  "rgb": {
    "r": 189,
    "g": 82,
    "b": 194
  },
  "hsl": {
    "h": 297.321,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61652,
    "c": 0.19273,
    "h": 325.8
  },
  "luminance": 0.20748
}

Semantic roles & 50–950 ramp

primary
#BD52C2
secondary
#A2D0A0
accent
#D75056
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #BD52C2

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

Preview Lab → · Contrast checker → · Palette generator →

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