#BA25A9#BA25A9

#BA25A9 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.7% C 0.225 H 333.5°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#BA25A9
RGBrgb(186, 37, 169)
HSLhsl(307, 67%, 44%)
HSVhsv(307, 80%, 73%)
CMYKcmyk(0%, 80.1%, 9.1%, 27.1%)
CIE-LABlab(45.12, 69.52, -36.50)
CIE-LCHlch(45.12, 78.52, 332.30°)
OKLaboklab(55.69% 0.2015 -0.1002)
OKLCHoklch(55.69% 0.225 333.5)
XYZxyz(28.0729, 14.6293, 38.8737)
Luminance0.1463 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA25A9 #25BA36
analogous
#8025BA #BA25A9 #BA255E
triadic
#BA25A9 #A9BA25 #25A9BA
tetradic
#BA25A9 #BA8025 #25BA36 #255EBA
square
#BA25A9 #BA8025 #25BA36 #255EBA
split-complementary
#BA25A9 #5EBA25 #25BA80
monochromatic
#54114C #871B7B #BA25A9 #DA43C8 #E476D7

Accessibility & contrast

On white

5.35
#BA25A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#BA25A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA25A9
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA25A9#FFFFFF#000000##FFFFFF
##BA25A91.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5DAC
Deuteranopia (green-blind)
#5C72A6
Tritanopia (blue-blind)
#C33667
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba25a9;
/* rgb */ color: rgb(186, 37, 169);
/* oklch */ color: oklch(55.7% 0.225 333.5);
Tailwind
colors: {
  custom: {
    50: '#d372c3',
    500: '#ba25a9',
    950: '#000000',
  },
}
SCSS
$custom: #ba25a9;
$custom-light: #d372c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba25a9",
  "rgb": {
    "r": 186,
    "g": 37,
    "b": 169
  },
  "hsl": {
    "h": 306.846,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5569,
    "c": 0.22502,
    "h": 333.5
  },
  "luminance": 0.14627
}

Semantic roles & 50–950 ramp

primary
#BA25A9
secondary
#70CB7A
accent
#EA523E
background
#FDF7FC
surface
#FBEDF8
border
#D4C8D1
text
#150912
muted
#837B81

Preview Lab

Preview with #BA25A9

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

Preview Lab → · Contrast checker → · Palette generator →

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