#BA5AE7#BA5AE7

#BA5AE7 is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.3% C 0.215 H 313.4°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#BA5AE7
RGBrgb(186, 90, 231)
HSLhsl(281, 75%, 63%)
HSVhsv(281, 61%, 91%)
CMYKcmyk(19.5%, 61%, 0%, 9.4%)
CIE-LABlab(55.61, 60.75, -55.58)
CIE-LCHlch(55.61, 82.34, 317.55°)
OKLaboklab(64.34% 0.1475 -0.1561)
OKLCHoklch(64.34% 0.215 313.4)
XYZxyz(38.3272, 23.5220, 78.1070)
Luminance0.2352 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5AE7 #87E75A
analogous
#735AE7 #BA5AE7 #E75ACD
triadic
#BA5AE7 #E7BA5A #5AE7BA
tetradic
#BA5AE7 #E7735A #87E75A #5ACDE7
square
#BA5AE7 #E7735A #87E75A #5ACDE7
split-complementary
#BA5AE7 #CDE75A #5AE773
monochromatic
#7E19AD #A425DF #BA5AE7 #D08FEF #E7C5F7

Accessibility & contrast

On white

3.68
#BA5AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#BA5AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5AE7
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5AE7#FFFFFF#000000##000000
##BA5AE71.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2580EB
Deuteranopia (green-blind)
#5387E4
Tritanopia (blue-blind)
#B67498
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ba5ae7;
/* rgb */ color: rgb(186, 90, 231);
/* oklch */ color: oklch(64.3% 0.215 313.4);
Tailwind
colors: {
  custom: {
    50: '#d28eef',
    500: '#ba5ae7',
    950: '#000000',
  },
}
SCSS
$custom: #ba5ae7;
$custom-light: #d28eef;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5ae7",
  "rgb": {
    "r": 186,
    "g": 90,
    "b": 231
  },
  "hsl": {
    "h": 280.851,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.64342,
    "c": 0.2148,
    "h": 313.4
  },
  "luminance": 0.23521
}

Semantic roles & 50–950 ramp

primary
#BA5AE7
secondary
#C5E8B5
accent
#D70F4F
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA5AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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