#BD52EB#BD52EB

#BD52EB is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 64.0% C 0.230 H 314.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#BD52EB
RGBrgb(189, 82, 235)
HSLhsl(282, 79%, 62%)
HSVhsv(282, 65%, 92%)
CMYKcmyk(19.6%, 65.1%, 0%, 7.8%)
CIE-LABlab(54.92, 65.84, -58.90)
CIE-LCHlch(54.92, 88.34, 318.19°)
OKLaboklab(64% 0.1602 -0.1657)
OKLCHoklch(64% 0.23 314)
XYZxyz(38.9964, 22.8528, 80.9380)
Luminance0.2285 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD52EB #80EB52
analogous
#7152EB #BD52EB #EB52CC
triadic
#BD52EB #EBBD52 #52EBBD
tetradic
#BD52EB #EB7152 #80EB52 #52CCEB
square
#BD52EB #EB7152 #80EB52 #52CCEB
split-complementary
#BD52EB #CCEB52 #52EB71
monochromatic
#8014AE #A81BE5 #BD52EB #D289F1 #E7C0F8

Accessibility & contrast

On white

3.77
#BD52EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#BD52EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BD52EB
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD52EB#FFFFFF#000000##000000
##BD52EB1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF0
Deuteranopia (green-blind)
#4B86E7
Tritanopia (blue-blind)
#B97098
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #bd52eb;
/* rgb */ color: rgb(189, 82, 235);
/* oklch */ color: oklch(64.0% 0.230 314.0);
Tailwind
colors: {
  custom: {
    50: '#d58af2',
    500: '#bd52eb',
    950: '#000000',
  },
}
SCSS
$custom: #bd52eb;
$custom-light: #d58af2;
$custom-dark: #000000;
JSON
{
  "hex": "#bd52eb",
  "rgb": {
    "r": 189,
    "g": 82,
    "b": 235
  },
  "hsl": {
    "h": 281.961,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.64004,
    "c": 0.23047,
    "h": 314
  },
  "luminance": 0.22852
}

Semantic roles & 50–950 ramp

primary
#BD52EB
secondary
#C1E8B0
accent
#DC0A49
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #BD52EB

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

Preview Lab → · Contrast checker → · Palette generator →

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