#BA4EE0#BA4EE0

#BA4EE0 is a light, highly saturated purple. Relative luminance 0.213; OKLCH L 62.5% C 0.224 H 316.1°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#BA4EE0
RGBrgb(186, 78, 224)
HSLhsl(284, 70%, 59%)
HSVhsv(284, 65%, 88%)
CMYKcmyk(17%, 65.2%, 0%, 12.2%)
CIE-LABlab(53.24, 64.72, -55.41)
CIE-LCHlch(53.24, 85.20, 319.43°)
OKLaboklab(62.51% 0.1615 -0.1556)
OKLCHoklch(62.51% 0.224 316.1)
XYZxyz(36.4266, 21.2711, 72.6935)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4EE0 #74E04E
analogous
#714EE0 #BA4EE0 #E04EBD
triadic
#BA4EE0 #E0BA4E #4EE0BA
tetradic
#BA4EE0 #E0714E #74E04E #4EBDE0
square
#BA4EE0 #E0714E #74E04E #4EBDE0
split-complementary
#BA4EE0 #BDE04E #4EE071
monochromatic
#781B99 #A124CD #BA4EE0 #CE82E9 #E3B6F2

Accessibility & contrast

On white

4.00
#BA4EE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#BA4EE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4EE0
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4EE0#FFFFFF#000000##000000
##BA4EE01.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0779E4
Deuteranopia (green-blind)
#4E82DD
Tritanopia (blue-blind)
#B86991
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ba4ee0;
/* rgb */ color: rgb(186, 78, 224);
/* oklch */ color: oklch(62.5% 0.224 316.1);
Tailwind
colors: {
  custom: {
    50: '#d287ea',
    500: '#ba4ee0',
    950: '#000000',
  },
}
SCSS
$custom: #ba4ee0;
$custom-light: #d287ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4ee0",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 224
  },
  "hsl": {
    "h": 284.384,
    "s": 70.192,
    "l": 59.216
  },
  "oklch": {
    "l": 0.62505,
    "c": 0.2242,
    "h": 316.1
  },
  "luminance": 0.2127
}

Semantic roles & 50–950 ramp

primary
#BA4EE0
secondary
#B7E1A8
accent
#ED3B69
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BA4EE0

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

Preview Lab → · Contrast checker → · Palette generator →

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