#BA5AE3#BA5AE3

#BA5AE3 is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.1% C 0.211 H 314.4°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#BA5AE3
RGBrgb(186, 90, 227)
HSLhsl(282, 71%, 62%)
HSVhsv(282, 60%, 89%)
CMYKcmyk(18.1%, 60.4%, 0%, 11%)
CIE-LABlab(55.38, 59.93, -53.69)
CIE-LCHlch(55.38, 80.46, 318.14°)
OKLaboklab(64.1% 0.1475 -0.1506)
OKLCHoklch(64.1% 0.211 314.4)
XYZxyz(37.7687, 23.2987, 75.1657)
Luminance0.2330 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5AE3 #83E35A
analogous
#765AE3 #BA5AE3 #E35AC7
triadic
#BA5AE3 #E3BA5A #5AE3BA
tetradic
#BA5AE3 #E3765A #83E35A #5AC7E3
square
#BA5AE3 #E3765A #83E35A #5AC7E3
split-complementary
#BA5AE3 #C7E35A #5AE376
monochromatic
#7D1CA6 #A426DA #BA5AE3 #D08EEC #E6C3F5

Accessibility & contrast

On white

3.71
#BA5AE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#BA5AE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5AE3
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5AE3#FFFFFF#000000##000000
##BA5AE31.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7FE7
Deuteranopia (green-blind)
#5687E0
Tritanopia (blue-blind)
#B77396
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ba5ae3;
/* rgb */ color: rgb(186, 90, 227);
/* oklch */ color: oklch(64.1% 0.211 314.4);
Tailwind
colors: {
  custom: {
    50: '#d28eec',
    500: '#ba5ae3',
    950: '#000000',
  },
}
SCSS
$custom: #ba5ae3;
$custom-light: #d28eec;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5ae3",
  "rgb": {
    "r": 186,
    "g": 90,
    "b": 227
  },
  "hsl": {
    "h": 282.044,
    "s": 70.984,
    "l": 62.157
  },
  "oklch": {
    "l": 0.64104,
    "c": 0.21083,
    "h": 314.4
  },
  "luminance": 0.23297
}

Semantic roles & 50–950 ramp

primary
#BA5AE3
secondary
#C2E6B3
accent
#D3124C
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA5AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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