#BA5EE6#BA5EE6

#BA5EE6 is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 64.8% C 0.208 H 313.3°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#BA5EE6
RGBrgb(186, 94, 230)
HSLhsl(281, 73%, 64%)
HSVhsv(281, 59%, 90%)
CMYKcmyk(19.1%, 59.1%, 0%, 9.8%)
CIE-LABlab(56.25, 58.65, -53.99)
CIE-LCHlch(56.25, 79.72, 317.37°)
OKLaboklab(64.79% 0.1427 -0.1515)
OKLCHoklch(64.79% 0.208 313.3)
XYZxyz(38.5329, 24.1587, 77.4808)
Luminance0.2416 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5EE6 #8AE65E
analogous
#765EE6 #BA5EE6 #E65ECE
triadic
#BA5EE6 #E6BA5E #5EE6BA
tetradic
#BA5EE6 #E6765E #8AE65E #5ECEE6
square
#BA5EE6 #E6765E #8AE65E #5ECEE6
split-complementary
#BA5EE6 #CEE65E #5EE676
monochromatic
#7F1BAF #A329DE #BA5EE6 #D193EE #E7C8F6

Accessibility & contrast

On white

3.60
#BA5EE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#BA5EE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5EE6
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5EE6#FFFFFF#000000##000000
##BA5EE61.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3182EA
Deuteranopia (green-blind)
#5789E3
Tritanopia (blue-blind)
#B67699
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ba5ee6;
/* rgb */ color: rgb(186, 94, 230);
/* oklch */ color: oklch(64.8% 0.208 313.3);
Tailwind
colors: {
  custom: {
    50: '#d290ee',
    500: '#ba5ee6',
    950: '#000000',
  },
}
SCSS
$custom: #ba5ee6;
$custom-light: #d290ee;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5ee6",
  "rgb": {
    "r": 186,
    "g": 94,
    "b": 230
  },
  "hsl": {
    "h": 280.588,
    "s": 73.118,
    "l": 63.529
  },
  "oklch": {
    "l": 0.64789,
    "c": 0.20815,
    "h": 313.3
  },
  "luminance": 0.24158
}

Semantic roles & 50–950 ramp

primary
#BA5EE6
secondary
#C7E8B8
accent
#D51050
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA5EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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