#BA26A3#BA26A3

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

Color values

HEX#BA26A3
RGBrgb(186, 38, 163)
HSLhsl(309, 66%, 44%)
HSVhsv(309, 80%, 73%)
CMYKcmyk(0%, 79.6%, 12.4%, 27.1%)
CIE-LABlab(44.90, 68.41, -33.27)
CIE-LCHlch(44.90, 76.07, 334.06°)
OKLaboklab(55.43% 0.2004 -0.0909)
OKLCHoklch(55.43% 0.22 335.6)
XYZxyz(27.5541, 14.4722, 35.9855)
Luminance0.1447 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA26A3 #26BA3D
analogous
#8726BA #BA26A3 #BA2659
triadic
#BA26A3 #A3BA26 #26A3BA
tetradic
#BA26A3 #BA8726 #26BA3D #2659BA
square
#BA26A3 #BA8726 #26BA3D #2659BA
split-complementary
#BA26A3 #59BA26 #26BA87
monochromatic
#54114A #871C76 #BA26A3 #D944C2 #E377D2

Accessibility & contrast

On white

5.39
#BA26A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#BA26A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA26A3
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA26A3#FFFFFF#000000##FFFFFF
##BA26A31.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba26a3;
/* rgb */ color: rgb(186, 38, 163);
/* oklch */ color: oklch(55.4% 0.220 335.6);
Tailwind
colors: {
  custom: {
    50: '#d373be',
    500: '#ba26a3',
    950: '#000000',
  },
}
SCSS
$custom: #ba26a3;
$custom-light: #d373be;
$custom-dark: #000000;
JSON
{
  "hex": "#ba26a3",
  "rgb": {
    "r": 186,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 309.324,
    "s": 66.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.55434,
    "c": 0.22011,
    "h": 335.6
  },
  "luminance": 0.1447
}

Semantic roles & 50–950 ramp

primary
#BA26A3
secondary
#71CB7F
accent
#E9593F
background
#FDF7FB
surface
#FBEDF7
border
#D4C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #BA26A3

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

Preview Lab → · Contrast checker → · Palette generator →

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