#BA52D0#BA52D0

#BA52D0 is a light, highly saturated purple. Relative luminance 0.210; OKLCH L 62.0% C 0.204 H 320.3°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#BA52D0
RGBrgb(186, 82, 208)
HSLhsl(290, 57%, 57%)
HSVhsv(290, 61%, 82%)
CMYKcmyk(10.6%, 60.6%, 0%, 18.4%)
CIE-LABlab(52.98, 59.85, -46.74)
CIE-LCHlch(52.98, 75.94, 322.01°)
OKLaboklab(62.02% 0.1569 -0.1303)
OKLCHoklch(62.02% 0.204 320.3)
XYZxyz(34.6508, 21.0294, 61.8961)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA52D0 #68D052
analogous
#7B52D0 #BA52D0 #D052A7
triadic
#BA52D0 #D0BA52 #52D0BA
tetradic
#BA52D0 #D07B52 #68D052 #52A7D0
square
#BA52D0 #D07B52 #68D052 #52A7D0
split-complementary
#BA52D0 #A7D052 #52D07B
monochromatic
#732484 #9D31B4 #BA52D0 #CD82DD #E0B2EA

Accessibility & contrast

On white

4.03
#BA52D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#BA52D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA52D0
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA52D0#FFFFFF#000000##000000
##BA52D01.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3477D4
Deuteranopia (green-blind)
#5D82CD
Tritanopia (blue-blind)
#BB668A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ba52d0;
/* rgb */ color: rgb(186, 82, 208);
/* oklch */ color: oklch(62.0% 0.204 320.3);
Tailwind
colors: {
  custom: {
    50: '#d289df',
    500: '#ba52d0',
    950: '#000000',
  },
}
SCSS
$custom: #ba52d0;
$custom-light: #d289df;
$custom-dark: #000000;
JSON
{
  "hex": "#ba52d0",
  "rgb": {
    "r": 186,
    "g": 82,
    "b": 208
  },
  "hsl": {
    "h": 289.524,
    "s": 57.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.62024,
    "c": 0.2039,
    "h": 320.3
  },
  "luminance": 0.21028
}

Semantic roles & 50–950 ramp

primary
#BA52D0
secondary
#AED9A5
accent
#E14762
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA52D0

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

Preview Lab → · Contrast checker → · Palette generator →

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