#BD52E9#BD52E9

#BD52E9 is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 63.9% C 0.229 H 314.5°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#BD52E9
RGBrgb(189, 82, 233)
HSLhsl(283, 77%, 62%)
HSVhsv(283, 65%, 91%)
CMYKcmyk(18.9%, 64.8%, 0%, 8.6%)
CIE-LABlab(54.80, 65.44, -57.97)
CIE-LCHlch(54.80, 87.42, 318.47°)
OKLaboklab(63.88% 0.1603 -0.163)
OKLCHoklch(63.88% 0.229 314.5)
XYZxyz(38.7091, 22.7379, 79.4248)
Luminance0.2274 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD52E9 #7EE952
analogous
#7252E9 #BD52E9 #E952C9
triadic
#BD52E9 #E9BD52 #52E9BD
tetradic
#BD52E9 #E97252 #7EE952 #52C9E9
square
#BD52E9 #E97252 #7EE952 #52C9E9
split-complementary
#BD52E9 #C9E952 #52E972
monochromatic
#7F16AB #A81DE1 #BD52E9 #D288F0 #E6BFF7

Accessibility & contrast

On white

3.79
#BD52E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#BD52E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD52E9
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD52E9#FFFFFF#000000##000000
##BD52E91.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEE
Deuteranopia (green-blind)
#4D86E5
Tritanopia (blue-blind)
#B96F97
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #bd52e9;
/* rgb */ color: rgb(189, 82, 233);
/* oklch */ color: oklch(63.9% 0.229 314.5);
Tailwind
colors: {
  custom: {
    50: '#d589f1',
    500: '#bd52e9',
    950: '#000000',
  },
}
SCSS
$custom: #bd52e9;
$custom-light: #d589f1;
$custom-dark: #000000;
JSON
{
  "hex": "#bd52e9",
  "rgb": {
    "r": 189,
    "g": 82,
    "b": 233
  },
  "hsl": {
    "h": 282.517,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.6388,
    "c": 0.22858,
    "h": 314.5
  },
  "luminance": 0.22737
}

Semantic roles & 50–950 ramp

primary
#BD52E9
secondary
#C0E7AF
accent
#DA0C48
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #BD52E9

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

Preview Lab → · Contrast checker → · Palette generator →

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