#BA5EE4#BA5EE4

#BA5EE4 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 64.7% C 0.206 H 313.8°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#BA5EE4
RGBrgb(186, 94, 228)
HSLhsl(281, 71%, 63%)
HSVhsv(281, 59%, 89%)
CMYKcmyk(18.4%, 58.8%, 0%, 10.6%)
CIE-LABlab(56.13, 58.23, -53.05)
CIE-LCHlch(56.13, 78.77, 317.67°)
OKLaboklab(64.67% 0.1427 -0.1487)
OKLCHoklch(64.67% 0.206 313.8)
XYZxyz(38.2536, 24.0471, 76.0102)
Luminance0.2405 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5EE4 #88E45E
analogous
#775EE4 #BA5EE4 #E45ECB
triadic
#BA5EE4 #E4BA5E #5EE4BA
tetradic
#BA5EE4 #E4775E #88E45E #5ECBE4
square
#BA5EE4 #E4775E #88E45E #5ECBE4
split-complementary
#BA5EE4 #CBE45E #5EE477
monochromatic
#7E1DAB #A42ADB #BA5EE4 #D092ED #E7C7F6

Accessibility & contrast

On white

3.61
#BA5EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#BA5EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5EE4
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5EE4#FFFFFF#000000##000000
##BA5EE41.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3381E8
Deuteranopia (green-blind)
#5989E1
Tritanopia (blue-blind)
#B67698
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ba5ee4;
/* rgb */ color: rgb(186, 94, 228);
/* oklch */ color: oklch(64.7% 0.206 313.8);
Tailwind
colors: {
  custom: {
    50: '#d290ed',
    500: '#ba5ee4',
    950: '#000000',
  },
}
SCSS
$custom: #ba5ee4;
$custom-light: #d290ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5ee4",
  "rgb": {
    "r": 186,
    "g": 94,
    "b": 228
  },
  "hsl": {
    "h": 281.194,
    "s": 71.277,
    "l": 63.137
  },
  "oklch": {
    "l": 0.64672,
    "c": 0.20613,
    "h": 313.8
  },
  "luminance": 0.24046
}

Semantic roles & 50–950 ramp

primary
#BA5EE4
secondary
#C6E7B7
accent
#D3124F
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA5EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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