#BA2EBB#BA2EBB

#BA2EBB is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.3% C 0.230 H 327.8°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#BA2EBB
RGBrgb(186, 46, 187)
HSLhsl(300, 61%, 46%)
HSVhsv(300, 75%, 73%)
CMYKcmyk(0.5%, 75.4%, 0%, 26.7%)
CIE-LABlab(46.95, 69.83, -44.20)
CIE-LCHlch(46.95, 82.64, 327.66°)
OKLaboklab(57.31% 0.1944 -0.1226)
OKLCHoklch(57.31% 0.23 327.8)
XYZxyz(30.1959, 15.9832, 48.4987)
Luminance0.1598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2EBB #2FBB2E
analogous
#732EBB #BA2EBB #BB2E76
triadic
#BA2EBB #BBBA2E #2EBBBA
tetradic
#BA2EBB #BB732E #2FBB2E #2E76BB
square
#BA2EBB #BB732E #2FBB2E #2E76BB
split-complementary
#BA2EBB #76BB2E #2EBB73
monochromatic
#581659 #89228A #BA2EBB #D352D4 #E083E0

Accessibility & contrast

On white

5.00
#BA2EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#BA2EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2EBB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2EBB#FFFFFF#000000##FFFFFF
##BA2EBB1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0664BF
Deuteranopia (green-blind)
#5575B8
Tritanopia (blue-blind)
#C04573
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba2ebb;
/* rgb */ color: rgb(186, 46, 187);
/* oklch */ color: oklch(57.3% 0.230 327.8);
Tailwind
colors: {
  custom: {
    50: '#d376d0',
    500: '#ba2ebb',
    950: '#000000',
  },
}
SCSS
$custom: #ba2ebb;
$custom-light: #d376d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2ebb",
  "rgb": {
    "r": 186,
    "g": 46,
    "b": 187
  },
  "hsl": {
    "h": 299.574,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.57312,
    "c": 0.22985,
    "h": 327.8
  },
  "luminance": 0.15981
}

Semantic roles & 50–950 ramp

primary
#BA2EBB
secondary
#7CCA7B
accent
#E44445
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BA2EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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