#BA5EEB#BA5EEB

#BA5EEB is a light, highly saturated violet. Relative luminance 0.244; OKLCH L 65.1% C 0.213 H 312.0°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#BA5EEB
RGBrgb(186, 94, 235)
HSLhsl(279, 78%, 65%)
HSVhsv(279, 60%, 92%)
CMYKcmyk(20.9%, 60%, 0%, 7.8%)
CIE-LABlab(56.53, 59.70, -56.34)
CIE-LCHlch(56.53, 82.09, 316.66°)
OKLaboklab(65.09% 0.1428 -0.1584)
OKLCHoklch(65.09% 0.213 312)
XYZxyz(39.2451, 24.4436, 81.2319)
Luminance0.2444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5EEB #8FEB5E
analogous
#745EEB #BA5EEB #EB5ED6
triadic
#BA5EEB #EBBA5E #5EEBBA
tetradic
#BA5EEB #EB745E #8FEB5E #5ED6EB
square
#BA5EEB #EB745E #8FEB5E #5ED6EB
split-complementary
#BA5EEB #D6EB5E #5EEB74
monochromatic
#8017B8 #A328E4 #BA5EEB #D194F2 #E9CBF9

Accessibility & contrast

On white

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

On black

5.89
#BA5EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5EEB
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5EEB#FFFFFF#000000##000000
##BA5EEB1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2983EF
Deuteranopia (green-blind)
#538AE8
Tritanopia (blue-blind)
#B5789C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ba5eeb;
/* rgb */ color: rgb(186, 94, 235);
/* oklch */ color: oklch(65.1% 0.213 312.0);
Tailwind
colors: {
  custom: {
    50: '#d290f2',
    500: '#ba5eeb',
    950: '#000000',
  },
}
SCSS
$custom: #ba5eeb;
$custom-light: #d290f2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5eeb",
  "rgb": {
    "r": 186,
    "g": 94,
    "b": 235
  },
  "hsl": {
    "h": 279.149,
    "s": 77.901,
    "l": 64.51
  },
  "oklch": {
    "l": 0.65086,
    "c": 0.21322,
    "h": 312
  },
  "luminance": 0.24443
}

Semantic roles & 50–950 ramp

primary
#BA5EEB
secondary
#CBEBBA
accent
#DA0B53
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA5EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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