#BA5EE3#BA5EE3

#BA5EE3 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 64.6% C 0.205 H 314.1°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#BA5EE3
RGBrgb(186, 94, 227)
HSLhsl(282, 70%, 63%)
HSVhsv(282, 59%, 89%)
CMYKcmyk(18.1%, 58.6%, 0%, 11%)
CIE-LABlab(56.08, 58.03, -52.58)
CIE-LCHlch(56.08, 78.30, 317.82°)
OKLaboklab(64.61% 0.1427 -0.1473)
OKLCHoklch(64.61% 0.205 314.1)
XYZxyz(38.1152, 23.9917, 75.2812)
Luminance0.2399 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5EE3 #87E35E
analogous
#785EE3 #BA5EE3 #E35EC9
triadic
#BA5EE3 #E3BA5E #5EE3BA
tetradic
#BA5EE3 #E3785E #87E35E #5EC9E3
square
#BA5EE3 #E3785E #87E35E #5EC9E3
split-complementary
#BA5EE3 #C9E35E #5EE378
monochromatic
#7E1DA9 #A42ADA #BA5EE3 #D092EC #E7C6F5

Accessibility & contrast

On white

3.62
#BA5EE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#BA5EE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5EE3
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5EE3#FFFFFF#000000##000000
##BA5EE31.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3581E7
Deuteranopia (green-blind)
#5A89E0
Tritanopia (blue-blind)
#B67598
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ba5ee3;
/* rgb */ color: rgb(186, 94, 227);
/* oklch */ color: oklch(64.6% 0.205 314.1);
Tailwind
colors: {
  custom: {
    50: '#d290ec',
    500: '#ba5ee3',
    950: '#000000',
  },
}
SCSS
$custom: #ba5ee3;
$custom-light: #d290ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5ee3",
  "rgb": {
    "r": 186,
    "g": 94,
    "b": 227
  },
  "hsl": {
    "h": 281.504,
    "s": 70.37,
    "l": 62.941
  },
  "oklch": {
    "l": 0.64614,
    "c": 0.20511,
    "h": 314.1
  },
  "luminance": 0.23991
}

Semantic roles & 50–950 ramp

primary
#BA5EE3
secondary
#C5E6B6
accent
#D2134E
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA5EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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