#BA55EA#BA55EA

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

Color values

HEX#BA55EA
RGBrgb(186, 85, 234)
HSLhsl(281, 78%, 63%)
HSVhsv(281, 64%, 92%)
CMYKcmyk(20.5%, 63.7%, 0%, 8.2%)
CIE-LABlab(54.95, 63.66, -58.32)
CIE-LCHlch(54.95, 86.33, 317.51°)
OKLaboklab(63.92% 0.1533 -0.1641)
OKLCHoklch(63.92% 0.225 313)
XYZxyz(38.3469, 22.8777, 80.2218)
Luminance0.2288 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA55EA #85EA55
analogous
#6F55EA #BA55EA #EA55D0
triadic
#BA55EA #EABA55 #55EABA
tetradic
#BA55EA #EA6F55 #85EA55 #55D0EA
square
#BA55EA #EA6F55 #85EA55 #55D0EA
split-complementary
#BA55EA #D0EA55 #55EA6F
monochromatic
#7E16AF #A41FE3 #BA55EA #D08BF1 #E6C2F7

Accessibility & contrast

On white

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

On black

5.58
#BA55EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA55EA
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA55EA#FFFFFF#000000##000000
##BA55EA1.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#067EEF
Deuteranopia (green-blind)
#4B86E7
Tritanopia (blue-blind)
#B57298
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ba55ea;
/* rgb */ color: rgb(186, 85, 234);
/* oklch */ color: oklch(63.9% 0.225 313.0);
Tailwind
colors: {
  custom: {
    50: '#d38bf1',
    500: '#ba55ea',
    950: '#000000',
  },
}
SCSS
$custom: #ba55ea;
$custom-light: #d38bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba55ea",
  "rgb": {
    "r": 186,
    "g": 85,
    "b": 234
  },
  "hsl": {
    "h": 280.671,
    "s": 78.01,
    "l": 62.549
  },
  "oklch": {
    "l": 0.63921,
    "c": 0.22453,
    "h": 313
  },
  "luminance": 0.22877
}

Semantic roles & 50–950 ramp

primary
#BA55EA
secondary
#C4E8B2
accent
#DA0B4E
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #BA55EA

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

Preview Lab → · Contrast checker → · Palette generator →

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