#BD52E6#BD52E6

#BD52E6 is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.7% C 0.226 H 315.3°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#BD52E6
RGBrgb(189, 82, 230)
HSLhsl(283, 75%, 61%)
HSVhsv(283, 64%, 90%)
CMYKcmyk(17.8%, 64.3%, 0%, 9.8%)
CIE-LABlab(54.62, 64.84, -56.56)
CIE-LCHlch(54.62, 86.05, 318.90°)
OKLaboklab(63.7% 0.1604 -0.1589)
OKLCHoklch(63.7% 0.226 315.3)
XYZxyz(38.2842, 22.5679, 77.1869)
Luminance0.2257 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD52E6 #7BE652
analogous
#7352E6 #BD52E6 #E652C5
triadic
#BD52E6 #E6BD52 #52E6BD
tetradic
#BD52E6 #E67352 #7BE652 #52C5E6
square
#BD52E6 #E67352 #7BE652 #52C5E6
split-complementary
#BD52E6 #C5E652 #52E673
monochromatic
#7E18A6 #A720DB #BD52E6 #D187EE #E6BDF5

Accessibility & contrast

On white

3.81
#BD52E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#BD52E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD52E6
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD52E6#FFFFFF#000000##000000
##BD52E61.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D7CEA
Deuteranopia (green-blind)
#4F86E2
Tritanopia (blue-blind)
#BA6E95
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #bd52e6;
/* rgb */ color: rgb(189, 82, 230);
/* oklch */ color: oklch(63.7% 0.226 315.3);
Tailwind
colors: {
  custom: {
    50: '#d589ef',
    500: '#bd52e6',
    950: '#000000',
  },
}
SCSS
$custom: #bd52e6;
$custom-light: #d589ef;
$custom-dark: #000000;
JSON
{
  "hex": "#bd52e6",
  "rgb": {
    "r": 189,
    "g": 82,
    "b": 230
  },
  "hsl": {
    "h": 283.378,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.63696,
    "c": 0.22575,
    "h": 315.3
  },
  "luminance": 0.22567
}

Semantic roles & 50–950 ramp

primary
#BD52E6
secondary
#BEE6AE
accent
#D70F46
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BD52E6

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

Preview Lab → · Contrast checker → · Palette generator →

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