#BA25A3#BA25A3

#BA25A3 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.4% C 0.221 H 335.6°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#BA25A3
RGBrgb(186, 37, 163)
HSLhsl(309, 67%, 44%)
HSVhsv(309, 80%, 73%)
CMYKcmyk(0%, 80.1%, 12.4%, 27.1%)
CIE-LABlab(44.81, 68.66, -33.41)
CIE-LCHlch(44.81, 76.36, 334.05°)
OKLaboklab(55.37% 0.2012 -0.0913)
OKLCHoklch(55.37% 0.221 335.6)
XYZxyz(27.5226, 14.4092, 35.9750)
Luminance0.1441 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA25A3 #25BA3C
analogous
#8625BA #BA25A3 #BA2558
triadic
#BA25A3 #A3BA25 #25A3BA
tetradic
#BA25A3 #BA8625 #25BA3C #2558BA
square
#BA25A3 #BA8625 #25BA3C #2558BA
split-complementary
#BA25A3 #58BA25 #25BA86
monochromatic
#54114A #871B76 #BA25A3 #DA43C2 #E476D3

Accessibility & contrast

On white

5.41
#BA25A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#BA25A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA25A3
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA25A3#FFFFFF#000000##FFFFFF
##BA25A31.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265CA6
Deuteranopia (green-blind)
#5E72A0
Tritanopia (blue-blind)
#C43364
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba25a3;
/* rgb */ color: rgb(186, 37, 163);
/* oklch */ color: oklch(55.4% 0.221 335.6);
Tailwind
colors: {
  custom: {
    50: '#d372be',
    500: '#ba25a3',
    950: '#000000',
  },
}
SCSS
$custom: #ba25a3;
$custom-light: #d372be;
$custom-dark: #000000;
JSON
{
  "hex": "#ba25a3",
  "rgb": {
    "r": 186,
    "g": 37,
    "b": 163
  },
  "hsl": {
    "h": 309.262,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5537,
    "c": 0.22097,
    "h": 335.6
  },
  "luminance": 0.14407
}

Semantic roles & 50–950 ramp

primary
#BA25A3
secondary
#70CB7E
accent
#EA593E
background
#FDF7FB
surface
#FBEDF7
border
#D4C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BA25A3

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

Preview Lab → · Contrast checker → · Palette generator →

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