#BA2EBD#BA2EBD

#BA2EBD is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.4% C 0.231 H 327.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#BA2EBD
RGBrgb(186, 46, 189)
HSLhsl(299, 61%, 46%)
HSVhsv(299, 76%, 74%)
CMYKcmyk(1.6%, 75.7%, 0%, 25.9%)
CIE-LABlab(47.07, 70.15, -45.19)
CIE-LCHlch(47.07, 83.44, 327.21°)
OKLaboklab(57.43% 0.1944 -0.1255)
OKLCHoklch(57.43% 0.231 327.2)
XYZxyz(30.4115, 16.0694, 49.6342)
Luminance0.1607 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2EBD #31BD2E
analogous
#722EBD #BA2EBD #BD2E78
triadic
#BA2EBD #BDBA2E #2EBDBA
tetradic
#BA2EBD #BD722E #31BD2E #2E78BD
square
#BA2EBD #BD722E #31BD2E #2E78BD
split-complementary
#BA2EBD #78BD2E #2EBD72
monochromatic
#59165B #8A228C #BA2EBD #D253D5 #DF84E1

Accessibility & contrast

On white

4.98
#BA2EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#BA2EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2EBD
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2EBD#FFFFFF#000000##FFFFFF
##BA2EBD1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#5476BA
Tritanopia (blue-blind)
#BF4674
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba2ebd;
/* rgb */ color: rgb(186, 46, 189);
/* oklch */ color: oklch(57.4% 0.231 327.2);
Tailwind
colors: {
  custom: {
    50: '#d377d1',
    500: '#ba2ebd',
    950: '#000000',
  },
}
SCSS
$custom: #ba2ebd;
$custom-light: #d377d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2ebd",
  "rgb": {
    "r": 186,
    "g": 46,
    "b": 189
  },
  "hsl": {
    "h": 298.741,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.57429,
    "c": 0.23134,
    "h": 327.2
  },
  "luminance": 0.16067
}

Semantic roles & 50–950 ramp

primary
#BA2EBD
secondary
#7ECA7C
accent
#E44447
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BA2EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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