#BA25A5#BA25A5

#BA25A5 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.5% C 0.222 H 334.9°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#BA25A5
RGBrgb(186, 37, 165)
HSLhsl(308, 67%, 44%)
HSVhsv(308, 80%, 73%)
CMYKcmyk(0%, 80.1%, 11.3%, 27.1%)
CIE-LABlab(44.92, 68.95, -34.45)
CIE-LCHlch(44.92, 77.07, 333.45°)
OKLaboklab(55.48% 0.2013 -0.0943)
OKLCHoklch(55.48% 0.222 334.9)
XYZxyz(27.7032, 14.4814, 36.9262)
Luminance0.1448 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA25A5 #25BA3A
analogous
#8425BA #BA25A5 #BA255A
triadic
#BA25A5 #A5BA25 #25A5BA
tetradic
#BA25A5 #BA8425 #25BA3A #255ABA
square
#BA25A5 #BA8425 #25BA3A #255ABA
split-complementary
#BA25A5 #5ABA25 #25BA84
monochromatic
#54114A #871B78 #BA25A5 #DA43C4 #E476D4

Accessibility & contrast

On white

5.39
#BA25A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#BA25A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA25A5
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA25A5#FFFFFF#000000##FFFFFF
##BA25A51.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235CA8
Deuteranopia (green-blind)
#5D72A2
Tritanopia (blue-blind)
#C33465
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba25a5;
/* rgb */ color: rgb(186, 37, 165);
/* oklch */ color: oklch(55.5% 0.222 334.9);
Tailwind
colors: {
  custom: {
    50: '#d372c0',
    500: '#ba25a5',
    950: '#000000',
  },
}
SCSS
$custom: #ba25a5;
$custom-light: #d372c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba25a5",
  "rgb": {
    "r": 186,
    "g": 37,
    "b": 165
  },
  "hsl": {
    "h": 308.456,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55476,
    "c": 0.22231,
    "h": 334.9
  },
  "luminance": 0.14479
}

Semantic roles & 50–950 ramp

primary
#BA25A5
secondary
#70CB7D
accent
#EA563E
background
#FDF7FB
surface
#FBEDF7
border
#D4C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BA25A5

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

Preview Lab → · Contrast checker → · Palette generator →

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