#BA55E5#BA55E5

#BA55E5 is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.6% C 0.220 H 314.3°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#BA55E5
RGBrgb(186, 85, 229)
HSLhsl(282, 73%, 62%)
HSVhsv(282, 63%, 90%)
CMYKcmyk(18.8%, 62.9%, 0%, 10.2%)
CIE-LABlab(54.65, 62.64, -55.98)
CIE-LCHlch(54.65, 84.01, 318.21°)
OKLaboklab(63.61% 0.1534 -0.1573)
OKLCHoklch(63.61% 0.22 314.3)
XYZxyz(37.6387, 22.5944, 76.4920)
Luminance0.2259 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA55E5 #80E555
analogous
#7255E5 #BA55E5 #E555C8
triadic
#BA55E5 #E5BA55 #55E5BA
tetradic
#BA55E5 #E57255 #80E555 #55C8E5
square
#BA55E5 #E57255 #80E555 #55C8E5
split-complementary
#BA55E5 #C8E555 #55E572
monochromatic
#7C19A6 #A422DB #BA55E5 #D08AED #E5BFF5

Accessibility & contrast

On white

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

On black

5.52
#BA55E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA55E5
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA55E5#FFFFFF#000000##000000
##BA55E51.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#197DE9
Deuteranopia (green-blind)
#5085E2
Tritanopia (blue-blind)
#B67096
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ba55e5;
/* rgb */ color: rgb(186, 85, 229);
/* oklch */ color: oklch(63.6% 0.220 314.3);
Tailwind
colors: {
  custom: {
    50: '#d28bee',
    500: '#ba55e5',
    950: '#000000',
  },
}
SCSS
$custom: #ba55e5;
$custom-light: #d28bee;
$custom-dark: #000000;
JSON
{
  "hex": "#ba55e5",
  "rgb": {
    "r": 186,
    "g": 85,
    "b": 229
  },
  "hsl": {
    "h": 282.083,
    "s": 73.469,
    "l": 61.569
  },
  "oklch": {
    "l": 0.63614,
    "c": 0.21969,
    "h": 314.3
  },
  "luminance": 0.22593
}

Semantic roles & 50–950 ramp

primary
#BA55E5
secondary
#C0E6B0
accent
#D6104B
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #BA55E5

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

Preview Lab → · Contrast checker → · Palette generator →

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