#BA26A5#BA26A5

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

Color values

HEX#BA26A5
RGBrgb(186, 38, 165)
HSLhsl(309, 66%, 44%)
HSVhsv(309, 80%, 73%)
CMYKcmyk(0%, 79.6%, 11.3%, 27.1%)
CIE-LABlab(45.00, 68.69, -34.31)
CIE-LCHlch(45.00, 76.78, 333.46°)
OKLaboklab(55.54% 0.2006 -0.0939)
OKLCHoklch(55.54% 0.221 334.9)
XYZxyz(27.7347, 14.5445, 36.9367)
Luminance0.1454 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA26A5 #26BA3B
analogous
#8526BA #BA26A5 #BA265B
triadic
#BA26A5 #A5BA26 #26A5BA
tetradic
#BA26A5 #BA8526 #26BA3B #265BBA
square
#BA26A5 #BA8526 #26BA3B #265BBA
split-complementary
#BA26A5 #5BBA26 #26BA85
monochromatic
#54114B #871C78 #BA26A5 #D944C4 #E377D4

Accessibility & contrast

On white

5.37
#BA26A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#BA26A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA26A5
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA26A5#FFFFFF#000000##FFFFFF
##BA26A51.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255DA8
Deuteranopia (green-blind)
#5E72A2
Tritanopia (blue-blind)
#C33565
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba26a5;
/* rgb */ color: rgb(186, 38, 165);
/* oklch */ color: oklch(55.5% 0.221 334.9);
Tailwind
colors: {
  custom: {
    50: '#d373c0',
    500: '#ba26a5',
    950: '#000000',
  },
}
SCSS
$custom: #ba26a5;
$custom-light: #d373c0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba26a5",
  "rgb": {
    "r": 186,
    "g": 38,
    "b": 165
  },
  "hsl": {
    "h": 308.514,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.55539,
    "c": 0.22145,
    "h": 334.9
  },
  "luminance": 0.14542
}

Semantic roles & 50–950 ramp

primary
#BA26A5
secondary
#71CB7E
accent
#E9573F
background
#FDF7FB
surface
#FBEDF7
border
#D4C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BA26A5

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

Preview Lab → · Contrast checker → · Palette generator →

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