#BA5EE8#BA5EE8

#BA5EE8 is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 64.9% C 0.210 H 312.8°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#BA5EE8
RGBrgb(186, 94, 232)
HSLhsl(280, 75%, 64%)
HSVhsv(280, 59%, 91%)
CMYKcmyk(19.8%, 59.5%, 0%, 9%)
CIE-LABlab(56.36, 59.07, -54.94)
CIE-LCHlch(56.36, 80.66, 317.08°)
OKLaboklab(64.91% 0.1428 -0.1542)
OKLCHoklch(64.91% 0.21 312.8)
XYZxyz(38.8154, 24.2717, 78.9685)
Luminance0.2427 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5EE8 #8CE85E
analogous
#755EE8 #BA5EE8 #E85ED1
triadic
#BA5EE8 #E8BA5E #5EE8BA
tetradic
#BA5EE8 #E8755E #8CE85E #5ED1E8
square
#BA5EE8 #E8755E #8CE85E #5ED1E8
split-complementary
#BA5EE8 #D1E85E #5EE875
monochromatic
#7F19B2 #A328E0 #BA5EE8 #D194F0 #E8C9F7

Accessibility & contrast

On white

3.59
#BA5EE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#BA5EE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5EE8
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5EE8#FFFFFF#000000##000000
##BA5EE81.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E82EC
Deuteranopia (green-blind)
#5689E5
Tritanopia (blue-blind)
#B5779A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ba5ee8;
/* rgb */ color: rgb(186, 94, 232);
/* oklch */ color: oklch(64.9% 0.210 312.8);
Tailwind
colors: {
  custom: {
    50: '#d290f0',
    500: '#ba5ee8',
    950: '#000000',
  },
}
SCSS
$custom: #ba5ee8;
$custom-light: #d290f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5ee8",
  "rgb": {
    "r": 186,
    "g": 94,
    "b": 232
  },
  "hsl": {
    "h": 280,
    "s": 75,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64907,
    "c": 0.21017,
    "h": 312.8
  },
  "luminance": 0.24271
}

Semantic roles & 50–950 ramp

primary
#BA5EE8
secondary
#C9E9B9
accent
#D70E51
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA5EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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