#BA35B9#BA35B9

#BA35B9 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.7% C 0.221 H 328.3°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#BA35B9
RGBrgb(186, 53, 185)
HSLhsl(300, 56%, 47%)
HSVhsv(300, 72%, 73%)
CMYKcmyk(0%, 71.5%, 0.5%, 27.1%)
CIE-LABlab(47.61, 67.30, -41.99)
CIE-LCHlch(47.61, 79.32, 328.04°)
OKLaboklab(57.75% 0.1882 -0.1162)
OKLCHoklch(57.75% 0.221 328.3)
XYZxyz(30.2794, 16.4903, 47.4777)
Luminance0.1649 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA35B9 #35BA36
analogous
#7935BA #BA35B9 #BA3577
triadic
#BA35B9 #B9BA35 #35B9BA
tetradic
#BA35B9 #BA7935 #35BA36 #3577BA
square
#BA35B9 #BA7935 #35BA36 #3577BA
split-complementary
#BA35B9 #77BA35 #35BA79
monochromatic
#5B1A5A #8A278A #BA35B9 #D05CD0 #DE8BDD

Accessibility & contrast

On white

4.89
#BA35B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#BA35B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA35B9
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA35B9#FFFFFF#000000##FFFFFF
##BA35B91.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E66BD
Deuteranopia (green-blind)
#5977B6
Tritanopia (blue-blind)
#C04974
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba35b9;
/* rgb */ color: rgb(186, 53, 185);
/* oklch */ color: oklch(57.7% 0.221 328.3);
Tailwind
colors: {
  custom: {
    50: '#d379ce',
    500: '#ba35b9',
    950: '#000000',
  },
}
SCSS
$custom: #ba35b9;
$custom-light: #d379ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ba35b9",
  "rgb": {
    "r": 186,
    "g": 53,
    "b": 185
  },
  "hsl": {
    "h": 300.451,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57747,
    "c": 0.22119,
    "h": 328.3
  },
  "luminance": 0.16488
}

Semantic roles & 50–950 ramp

primary
#BA35B9
secondary
#82C883
accent
#DF4A49
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BA35B9

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

Preview Lab → · Contrast checker → · Palette generator →

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