#BA59E9#BA59E9

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

Color values

HEX#BA59E9
RGBrgb(186, 89, 233)
HSLhsl(280, 77%, 63%)
HSVhsv(280, 62%, 91%)
CMYKcmyk(20.2%, 61.8%, 0%, 8.6%)
CIE-LABlab(55.55, 61.63, -56.79)
CIE-LCHlch(55.55, 83.80, 317.34°)
OKLaboklab(64.34% 0.1487 -0.1596)
OKLCHoklch(64.34% 0.218 313)
XYZxyz(38.5275, 23.4681, 79.5753)
Luminance0.2347 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA59E9 #88E959
analogous
#7259E9 #BA59E9 #E959D0
triadic
#BA59E9 #E9BA59 #59E9BA
tetradic
#BA59E9 #E97259 #88E959 #59D0E9
square
#BA59E9 #E97259 #88E959 #59D0E9
split-complementary
#BA59E9 #D0E959 #59E972
monochromatic
#7E17B0 #A423E2 #BA59E9 #D08FF0 #E7C5F7

Accessibility & contrast

On white

3.69
#BA59E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#BA59E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA59E9
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA59E9#FFFFFF#000000##000000
##BA59E91.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E80ED
Deuteranopia (green-blind)
#5087E6
Tritanopia (blue-blind)
#B57499
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ba59e9;
/* rgb */ color: rgb(186, 89, 233);
/* oklch */ color: oklch(64.3% 0.218 313.0);
Tailwind
colors: {
  custom: {
    50: '#d28df1',
    500: '#ba59e9',
    950: '#000000',
  },
}
SCSS
$custom: #ba59e9;
$custom-light: #d28df1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba59e9",
  "rgb": {
    "r": 186,
    "g": 89,
    "b": 233
  },
  "hsl": {
    "h": 280.417,
    "s": 76.596,
    "l": 63.137
  },
  "oklch": {
    "l": 0.64339,
    "c": 0.21816,
    "h": 313
  },
  "luminance": 0.23467
}

Semantic roles & 50–950 ramp

primary
#BA59E9
secondary
#C6E9B5
accent
#D90D4F
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140D17
muted
#837D85

Preview Lab

Preview with #BA59E9

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

Preview Lab → · Contrast checker → · Palette generator →

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