#BA1EBB#BA1EBB

#BA1EBB is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.3% C 0.243 H 327.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#BA1EBB
RGBrgb(186, 30, 187)
HSLhsl(300, 72%, 43%)
HSVhsv(300, 84%, 73%)
CMYKcmyk(0.5%, 84%, 0%, 26.7%)
CIE-LABlab(45.58, 73.81, -46.39)
CIE-LCHlch(45.58, 87.18, 327.85°)
OKLaboklab(56.34% 0.2057 -0.1289)
OKLCHoklch(56.34% 0.243 327.9)
XYZxyz(29.6832, 14.9578, 48.3278)
Luminance0.1496 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA1EBB #1FBB1E
analogous
#6C1EBB #BA1EBB #BB1E6D
triadic
#BA1EBB #BBBA1E #1EBBBA
tetradic
#BA1EBB #BB6C1E #1FBB1E #1E6DBB
square
#BA1EBB #BB6C1E #1FBB1E #1E6DBB
split-complementary
#BA1EBB #6DBB1E #1EBB6C
monochromatic
#510D52 #861686 #BA1EBB #DE37DF #E76CE7

Accessibility & contrast

On white

5.26
#BA1EBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#BA1EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA1EBB
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA1EBB#FFFFFF#000000##FFFFFF
##BA1EBB1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#4F72B7
Tritanopia (blue-blind)
#C03D70
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ba1ebb;
/* rgb */ color: rgb(186, 30, 187);
/* oklch */ color: oklch(56.3% 0.243 327.9);
Tailwind
colors: {
  custom: {
    50: '#d371d0',
    500: '#ba1ebb',
    950: '#000000',
  },
}
SCSS
$custom: #ba1ebb;
$custom-light: #d371d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba1ebb",
  "rgb": {
    "r": 186,
    "g": 30,
    "b": 187
  },
  "hsl": {
    "h": 299.618,
    "s": 72.35,
    "l": 42.549
  },
  "oklch": {
    "l": 0.56335,
    "c": 0.24273,
    "h": 327.9
  },
  "luminance": 0.14956
}

Semantic roles & 50–950 ramp

primary
#BA1EBB
secondary
#68CD67
accent
#EF393A
background
#FDF7FC
surface
#FBEDF9
border
#D4C8D2
text
#150914
muted
#837B82

Preview Lab

Preview with #BA1EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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