#BA5AE5#BA5AE5

#BA5AE5 is a light, highly saturated purple. Relative luminance 0.234; OKLCH L 64.2% C 0.213 H 313.9°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#BA5AE5
RGBrgb(186, 90, 229)
HSLhsl(281, 73%, 63%)
HSVhsv(281, 61%, 90%)
CMYKcmyk(18.8%, 60.7%, 0%, 10.2%)
CIE-LABlab(55.49, 60.34, -54.64)
CIE-LCHlch(55.49, 81.40, 317.84°)
OKLaboklab(64.22% 0.1475 -0.1534)
OKLCHoklch(64.22% 0.213 313.9)
XYZxyz(38.0463, 23.4097, 76.6279)
Luminance0.2341 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5AE5 #85E55A
analogous
#755AE5 #BA5AE5 #E55ACA
triadic
#BA5AE5 #E5BA5A #5AE5BA
tetradic
#BA5AE5 #E5755A #85E55A #5ACAE5
square
#BA5AE5 #E5755A #85E55A #5ACAE5
split-complementary
#BA5AE5 #CAE55A #5AE575
monochromatic
#7E1BAA #A425DD #BA5AE5 #D08FED #E6C4F6

Accessibility & contrast

On white

3.70
#BA5AE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#BA5AE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5AE5
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5AE5#FFFFFF#000000##000000
##BA5AE51.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2980E9
Deuteranopia (green-blind)
#5487E2
Tritanopia (blue-blind)
#B67397
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ba5ae5;
/* rgb */ color: rgb(186, 90, 229);
/* oklch */ color: oklch(64.2% 0.213 313.9);
Tailwind
colors: {
  custom: {
    50: '#d28eee',
    500: '#ba5ae5',
    950: '#000000',
  },
}
SCSS
$custom: #ba5ae5;
$custom-light: #d28eee;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5ae5",
  "rgb": {
    "r": 186,
    "g": 90,
    "b": 229
  },
  "hsl": {
    "h": 281.439,
    "s": 72.775,
    "l": 62.549
  },
  "oklch": {
    "l": 0.64222,
    "c": 0.21282,
    "h": 313.9
  },
  "luminance": 0.23409
}

Semantic roles & 50–950 ramp

primary
#BA5AE5
secondary
#C4E7B4
accent
#D5114D
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA5AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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