#BA25AA#BA25AA

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

Color values

HEX#BA25AA
RGBrgb(186, 37, 170)
HSLhsl(306, 67%, 44%)
HSVhsv(306, 80%, 73%)
CMYKcmyk(0%, 80.1%, 8.6%, 27.1%)
CIE-LABlab(45.17, 69.67, -37.01)
CIE-LCHlch(45.17, 78.89, 332.02°)
OKLaboklab(55.75% 0.2015 -0.1017)
OKLCHoklch(55.75% 0.226 333.2)
XYZxyz(28.1672, 14.6670, 39.3700)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA25AA #25BA35
analogous
#7F25BA #BA25AA #BA255F
triadic
#BA25AA #AABA25 #25AABA
tetradic
#BA25AA #BA7F25 #25BA35 #255FBA
square
#BA25AA #BA7F25 #25BA35 #255FBA
split-complementary
#BA25AA #5FBA25 #25BA7F
monochromatic
#54114D #871B7B #BA25AA #DA43C9 #E476D8

Accessibility & contrast

On white

5.34
#BA25AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA25AA
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA25AA#FFFFFF#000000##FFFFFF
##BA25AA1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5DAD
Deuteranopia (green-blind)
#5B72A7
Tritanopia (blue-blind)
#C33768
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ba25aa;
/* rgb */ color: rgb(186, 37, 170);
/* oklch */ color: oklch(55.7% 0.226 333.2);
Tailwind
colors: {
  custom: {
    50: '#d373c4',
    500: '#ba25aa',
    950: '#000000',
  },
}
SCSS
$custom: #ba25aa;
$custom-light: #d373c4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba25aa",
  "rgb": {
    "r": 186,
    "g": 37,
    "b": 170
  },
  "hsl": {
    "h": 306.443,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55745,
    "c": 0.22571,
    "h": 333.2
  },
  "luminance": 0.14665
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA25AA

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

Preview Lab → · Contrast checker → · Palette generator →

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