#BA2EEE#BA2EEE

#BA2EEE is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.6% C 0.270 H 314.3°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#BA2EEE
RGBrgb(186, 46, 238)
HSLhsl(284, 85%, 56%)
HSVhsv(284, 81%, 93%)
CMYKcmyk(21.8%, 80.7%, 0%, 6.7%)
CIE-LABlab(50.18, 78.70, -68.25)
CIE-LCHlch(50.18, 104.17, 319.07°)
OKLaboklab(60.61% 0.1883 -0.193)
OKLCHoklch(60.61% 0.27 314.3)
XYZxyz(36.6567, 18.5675, 82.5253)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2EEE #62EE2E
analogous
#5A2EEE #BA2EEE #EE2EC2
triadic
#BA2EEE #EEBA2E #2EEEBA
tetradic
#BA2EEE #EE5A2E #62EE2E #2EC2EE
square
#BA2EEE #EE5A2E #62EE2E #2EC2EE
split-complementary
#BA2EEE #C2EE2E #2EEE5A
monochromatic
#700C95 #9B11CE #BA2EEE #CD67F3 #DF9FF7

Accessibility & contrast

On white

4.46
#BA2EEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#BA2EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA2EEE
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2EEE#FFFFFF#000000##000000
##BA2EEE1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070F3
Deuteranopia (green-blind)
#187BEA
Tritanopia (blue-blind)
#B55E91
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba2eee;
/* rgb */ color: rgb(186, 46, 238);
/* oklch */ color: oklch(60.6% 0.270 314.3);
Tailwind
colors: {
  custom: {
    50: '#d479f5',
    500: '#ba2eee',
    950: '#000000',
  },
}
SCSS
$custom: #ba2eee;
$custom-light: #d479f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2eee",
  "rgb": {
    "r": 186,
    "g": 46,
    "b": 238
  },
  "hsl": {
    "h": 283.75,
    "s": 84.956,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60613,
    "c": 0.26965,
    "h": 314.3
  },
  "luminance": 0.18566
}

Semantic roles & 50–950 ramp

primary
#BA2EEE
secondary
#AAE494
accent
#FB2D65
background
#FDF7FF
surface
#FBEEFE
border
#D4C9D6
text
#150A17
muted
#837C85

Preview Lab

Preview with #BA2EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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