#BA35AA#BA35AA

#BA35AA is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 56.9% C 0.210 H 333.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#BA35AA
RGBrgb(186, 53, 170)
HSLhsl(307, 56%, 47%)
HSVhsv(307, 72%, 73%)
CMYKcmyk(0%, 71.5%, 8.6%, 27.1%)
CIE-LABlab(46.83, 64.93, -34.40)
CIE-LCHlch(46.83, 73.48, 332.08°)
OKLaboklab(56.93% 0.1876 -0.0943)
OKLCHoklch(56.93% 0.21 333.3)
XYZxyz(28.7787, 15.8900, 39.5738)
Luminance0.1589 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA35AA #35BA45
analogous
#8835BA #BA35AA #BA3568
triadic
#BA35AA #AABA35 #35AABA
tetradic
#BA35AA #BA8835 #35BA45 #3568BA
square
#BA35AA #BA8835 #35BA45 #3568BA
split-complementary
#BA35AA #68BA35 #35BA88
monochromatic
#5B1A53 #8A277E #BA35AA #D05CC2 #DE8BD4

Accessibility & contrast

On white

5.03
#BA35AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#BA35AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA35AA
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA35AA#FFFFFF#000000##FFFFFF
##BA35AA1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3063AD
Deuteranopia (green-blind)
#6176A7
Tritanopia (blue-blind)
#C2426C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba35aa;
/* rgb */ color: rgb(186, 53, 170);
/* oklch */ color: oklch(56.9% 0.210 333.3);
Tailwind
colors: {
  custom: {
    50: '#d279c3',
    500: '#ba35aa',
    950: '#000000',
  },
}
SCSS
$custom: #ba35aa;
$custom-light: #d279c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba35aa",
  "rgb": {
    "r": 186,
    "g": 53,
    "b": 170
  },
  "hsl": {
    "h": 307.218,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56932,
    "c": 0.20997,
    "h": 333.3
  },
  "luminance": 0.15888
}

Semantic roles & 50–950 ramp

primary
#BA35AA
secondary
#82C88B
accent
#DF5B49
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #BA35AA

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

Preview Lab → · Contrast checker → · Palette generator →

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