#BA25AB#BA25AB

#BA25AB is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.8% C 0.226 H 332.9°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#BA25AB
RGBrgb(186, 37, 171)
HSLhsl(306, 67%, 44%)
HSVhsv(306, 80%, 73%)
CMYKcmyk(0%, 80.1%, 8.1%, 27.1%)
CIE-LABlab(45.23, 69.82, -37.52)
CIE-LCHlch(45.23, 79.26, 331.75°)
OKLaboklab(55.8% 0.2015 -0.1032)
OKLCHoklch(55.8% 0.226 332.9)
XYZxyz(28.2621, 14.7050, 39.8700)
Luminance0.1470 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA25AB #25BA34
analogous
#7E25BA #BA25AB #BA2560
triadic
#BA25AB #ABBA25 #25ABBA
tetradic
#BA25AB #BA7E25 #25BA34 #2560BA
square
#BA25AB #BA7E25 #25BA34 #2560BA
split-complementary
#BA25AB #60BA25 #25BA7E
monochromatic
#54114D #871B7C #BA25AB #DA43CA #E476D9

Accessibility & contrast

On white

5.33
#BA25AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#BA25AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA25AB
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA25AB#FFFFFF#000000##FFFFFF
##BA25AB1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5EAE
Deuteranopia (green-blind)
#5B72A8
Tritanopia (blue-blind)
#C23768
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba25ab;
/* rgb */ color: rgb(186, 37, 171);
/* oklch */ color: oklch(55.8% 0.226 332.9);
Tailwind
colors: {
  custom: {
    50: '#d373c4',
    500: '#ba25ab',
    950: '#000000',
  },
}
SCSS
$custom: #ba25ab;
$custom-light: #d373c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba25ab",
  "rgb": {
    "r": 186,
    "g": 37,
    "b": 171
  },
  "hsl": {
    "h": 306.04,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55799,
    "c": 0.22639,
    "h": 332.9
  },
  "luminance": 0.14703
}

Semantic roles & 50–950 ramp

primary
#BA25AB
secondary
#70CB79
accent
#EA4F3E
background
#FDF7FC
surface
#FBEDF8
border
#D4C8D1
text
#150913
muted
#837B82

Preview Lab

Preview with #BA25AB

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

Preview Lab → · Contrast checker → · Palette generator →

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