#BA2EBE#BA2EBE

#BA2EBE is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.5% C 0.232 H 326.8°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#BA2EBE
RGBrgb(186, 46, 190)
HSLhsl(298, 61%, 46%)
HSVhsv(298, 76%, 75%)
CMYKcmyk(2.1%, 75.8%, 0%, 25.5%)
CIE-LABlab(47.12, 70.31, -45.68)
CIE-LCHlch(47.12, 83.85, 326.99°)
OKLaboklab(57.49% 0.1943 -0.1269)
OKLCHoklch(57.49% 0.232 326.8)
XYZxyz(30.5204, 16.1130, 50.2078)
Luminance0.1611 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2EBE #32BE2E
analogous
#722EBE #BA2EBE #BE2E7A
triadic
#BA2EBE #BEBA2E #2EBEBA
tetradic
#BA2EBE #BE722E #32BE2E #2E7ABE
square
#BA2EBE #BE722E #32BE2E #2E7ABE
split-complementary
#BA2EBE #7ABE2E #2EBE72
monochromatic
#5A165B #8A228D #BA2EBE #D254D6 #DF85E1

Accessibility & contrast

On white

4.97
#BA2EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#BA2EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2EBE
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2EBE#FFFFFF#000000##FFFFFF
##BA2EBE1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C2
Deuteranopia (green-blind)
#5376BB
Tritanopia (blue-blind)
#BF4775
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba2ebe;
/* rgb */ color: rgb(186, 46, 190);
/* oklch */ color: oklch(57.5% 0.232 326.8);
Tailwind
colors: {
  custom: {
    50: '#d377d2',
    500: '#ba2ebe',
    950: '#000000',
  },
}
SCSS
$custom: #ba2ebe;
$custom-light: #d377d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2ebe",
  "rgb": {
    "r": 186,
    "g": 46,
    "b": 190
  },
  "hsl": {
    "h": 298.333,
    "s": 61.017,
    "l": 46.275
  },
  "oklch": {
    "l": 0.57487,
    "c": 0.2321,
    "h": 326.8
  },
  "luminance": 0.16111
}

Semantic roles & 50–950 ramp

primary
#BA2EBE
secondary
#7FCB7D
accent
#E44448
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BA2EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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