#BA26A4#BA26A4

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

Color values

HEX#BA26A4
RGBrgb(186, 38, 164)
HSLhsl(309, 66%, 44%)
HSVhsv(309, 80%, 73%)
CMYKcmyk(0%, 79.6%, 11.8%, 27.1%)
CIE-LABlab(44.95, 68.55, -33.79)
CIE-LCHlch(44.95, 76.42, 333.76°)
OKLaboklab(55.49% 0.2005 -0.0924)
OKLCHoklch(55.49% 0.221 335.2)
XYZxyz(27.6441, 14.5082, 36.4592)
Luminance0.1451 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA26A4 #26BA3C
analogous
#8626BA #BA26A4 #BA265A
triadic
#BA26A4 #A4BA26 #26A4BA
tetradic
#BA26A4 #BA8626 #26BA3C #265ABA
square
#BA26A4 #BA8626 #26BA3C #265ABA
split-complementary
#BA26A4 #5ABA26 #26BA86
monochromatic
#54114A #871C77 #BA26A4 #D944C3 #E377D3

Accessibility & contrast

On white

5.38
#BA26A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BA26A4
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA26A4#FFFFFF#000000##FFFFFF
##BA26A41.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265DA7
Deuteranopia (green-blind)
#5E72A1
Tritanopia (blue-blind)
#C33464
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ba26a4;
/* rgb */ color: rgb(186, 38, 164);
/* oklch */ color: oklch(55.5% 0.221 335.2);
Tailwind
colors: {
  custom: {
    50: '#d373bf',
    500: '#ba26a4',
    950: '#000000',
  },
}
SCSS
$custom: #ba26a4;
$custom-light: #d373bf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba26a4",
  "rgb": {
    "r": 186,
    "g": 38,
    "b": 164
  },
  "hsl": {
    "h": 308.919,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.55486,
    "c": 0.22078,
    "h": 335.2
  },
  "luminance": 0.14506
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA26A4

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

Preview Lab → · Contrast checker → · Palette generator →

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