#BD52E8#BD52E8

#BD52E8 is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 63.8% C 0.228 H 314.8°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#BD52E8
RGBrgb(189, 82, 232)
HSLhsl(283, 77%, 62%)
HSVhsv(283, 65%, 91%)
CMYKcmyk(18.5%, 64.7%, 0%, 9%)
CIE-LABlab(54.74, 65.24, -57.50)
CIE-LCHlch(54.74, 86.96, 318.61°)
OKLaboklab(63.82% 0.1603 -0.1616)
OKLCHoklch(63.82% 0.228 314.8)
XYZxyz(38.5667, 22.6809, 78.6746)
Luminance0.2268 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD52E8 #7DE852
analogous
#7252E8 #BD52E8 #E852C8
triadic
#BD52E8 #E8BD52 #52E8BD
tetradic
#BD52E8 #E87252 #7DE852 #52C8E8
square
#BD52E8 #E87252 #7DE852 #52C8E8
split-complementary
#BD52E8 #C8E852 #52E872
monochromatic
#7F16A9 #A81EDF #BD52E8 #D288EF #E6BEF6

Accessibility & contrast

On white

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

On black

5.54
#BD52E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD52E8
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD52E8#FFFFFF#000000##000000
##BD52E81.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#037DED
Deuteranopia (green-blind)
#4E86E4
Tritanopia (blue-blind)
#BA6F96
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #bd52e8;
/* rgb */ color: rgb(189, 82, 232);
/* oklch */ color: oklch(63.8% 0.228 314.8);
Tailwind
colors: {
  custom: {
    50: '#d589f0',
    500: '#bd52e8',
    950: '#000000',
  },
}
SCSS
$custom: #bd52e8;
$custom-light: #d589f0;
$custom-dark: #000000;
JSON
{
  "hex": "#bd52e8",
  "rgb": {
    "r": 189,
    "g": 82,
    "b": 232
  },
  "hsl": {
    "h": 282.8,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.63818,
    "c": 0.22763,
    "h": 314.8
  },
  "luminance": 0.2268
}

Semantic roles & 50–950 ramp

primary
#BD52E8
secondary
#BFE7AF
accent
#D90D47
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #BD52E8

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

Preview Lab → · Contrast checker → · Palette generator →

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