#BA35AC#BA35AC

#BA35AC is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.0% C 0.211 H 332.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#BA35AC
RGBrgb(186, 53, 172)
HSLhsl(306, 56%, 47%)
HSVhsv(306, 72%, 73%)
CMYKcmyk(0%, 71.5%, 7.5%, 27.1%)
CIE-LABlab(46.93, 65.24, -35.43)
CIE-LCHlch(46.93, 74.24, 331.50°)
OKLaboklab(57.04% 0.1877 -0.0972)
OKLCHoklch(57.04% 0.211 332.6)
XYZxyz(28.9693, 15.9662, 40.5778)
Luminance0.1596 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA35AC #35BA43
analogous
#8635BA #BA35AC #BA3569
triadic
#BA35AC #ACBA35 #35ACBA
tetradic
#BA35AC #BA8635 #35BA43 #3569BA
square
#BA35AC #BA8635 #35BA43 #3569BA
split-complementary
#BA35AC #69BA35 #35BA86
monochromatic
#5B1A54 #8A2780 #BA35AC #D05CC4 #DE8BD5

Accessibility & contrast

On white

5.01
#BA35AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#BA35AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA35AC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA35AC#FFFFFF#000000##FFFFFF
##BA35AC1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E63AF
Deuteranopia (green-blind)
#6076A9
Tritanopia (blue-blind)
#C2436D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba35ac;
/* rgb */ color: rgb(186, 53, 172);
/* oklch */ color: oklch(57.0% 0.211 332.6);
Tailwind
colors: {
  custom: {
    50: '#d279c5',
    500: '#ba35ac',
    950: '#000000',
  },
}
SCSS
$custom: #ba35ac;
$custom-light: #d279c5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba35ac",
  "rgb": {
    "r": 186,
    "g": 53,
    "b": 172
  },
  "hsl": {
    "h": 306.316,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57037,
    "c": 0.21143,
    "h": 332.6
  },
  "luminance": 0.15964
}

Semantic roles & 50–950 ramp

primary
#BA35AC
secondary
#82C88A
accent
#DF5949
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA35AC

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

Preview Lab → · Contrast checker → · Palette generator →

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