#BA5EEA#BA5EEA

#BA5EEA is a light, highly saturated violet. Relative luminance 0.244; OKLCH L 65.0% C 0.212 H 312.3°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#BA5EEA
RGBrgb(186, 94, 234)
HSLhsl(279, 77%, 64%)
HSVhsv(279, 60%, 92%)
CMYKcmyk(20.5%, 59.8%, 0%, 8.2%)
CIE-LABlab(56.47, 59.49, -55.87)
CIE-LCHlch(56.47, 81.61, 316.79°)
OKLaboklab(65.03% 0.1428 -0.157)
OKLCHoklch(65.03% 0.212 312.3)
XYZxyz(39.1010, 24.3860, 80.4731)
Luminance0.2439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5EEA #8EEA5E
analogous
#745EEA #BA5EEA #EA5ED4
triadic
#BA5EEA #EABA5E #5EEABA
tetradic
#BA5EEA #EA745E #8EEA5E #5ED4EA
square
#BA5EEA #EA745E #8EEA5E #5ED4EA
split-complementary
#BA5EEA #D4EA5E #5EEA74
monochromatic
#8018B6 #A328E3 #BA5EEA #D194F1 #E8CAF8

Accessibility & contrast

On white

3.57
#BA5EEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#BA5EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5EEA
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5EEA#FFFFFF#000000##000000
##BA5EEA1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B83EE
Deuteranopia (green-blind)
#5489E7
Tritanopia (blue-blind)
#B5789B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ba5eea;
/* rgb */ color: rgb(186, 94, 234);
/* oklch */ color: oklch(65.0% 0.212 312.3);
Tailwind
colors: {
  custom: {
    50: '#d290f1',
    500: '#ba5eea',
    950: '#000000',
  },
}
SCSS
$custom: #ba5eea;
$custom-light: #d290f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5eea",
  "rgb": {
    "r": 186,
    "g": 94,
    "b": 234
  },
  "hsl": {
    "h": 279.429,
    "s": 76.923,
    "l": 64.314
  },
  "oklch": {
    "l": 0.65026,
    "c": 0.2122,
    "h": 312.3
  },
  "luminance": 0.24385
}

Semantic roles & 50–950 ramp

primary
#BA5EEA
secondary
#CAEABA
accent
#D90C53
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA5EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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