#BA35B5#BA35B5

#BA35B5 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.5% C 0.218 H 329.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#BA35B5
RGBrgb(186, 53, 181)
HSLhsl(302, 56%, 47%)
HSVhsv(302, 72%, 73%)
CMYKcmyk(0%, 71.5%, 2.7%, 27.1%)
CIE-LABlab(47.40, 66.65, -39.98)
CIE-LCHlch(47.40, 77.73, 329.04°)
OKLaboklab(57.52% 0.1881 -0.1104)
OKLCHoklch(57.52% 0.218 329.6)
XYZxyz(29.8631, 16.3238, 45.2850)
Luminance0.1632 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA35B5 #35BA3A
analogous
#7D35BA #BA35B5 #BA3572
triadic
#BA35B5 #B5BA35 #35B5BA
tetradic
#BA35B5 #BA7D35 #35BA3A #3572BA
square
#BA35B5 #BA7D35 #35BA3A #3572BA
split-complementary
#BA35B5 #72BA35 #35BA7D
monochromatic
#5B1A58 #8A2787 #BA35B5 #D05CCC #DE8BDB

Accessibility & contrast

On white

4.92
#BA35B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#BA35B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA35B5
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA35B5#FFFFFF#000000##FFFFFF
##BA35B51.004.924.264.92
#FFFFFF4.921.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2465B9
Deuteranopia (green-blind)
#5B77B2
Tritanopia (blue-blind)
#C14772
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba35b5;
/* rgb */ color: rgb(186, 53, 181);
/* oklch */ color: oklch(57.5% 0.218 329.6);
Tailwind
colors: {
  custom: {
    50: '#d279cb',
    500: '#ba35b5',
    950: '#000000',
  },
}
SCSS
$custom: #ba35b5;
$custom-light: #d279cb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba35b5",
  "rgb": {
    "r": 186,
    "g": 53,
    "b": 181
  },
  "hsl": {
    "h": 302.256,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57523,
    "c": 0.21814,
    "h": 329.6
  },
  "luminance": 0.16322
}

Semantic roles & 50–950 ramp

primary
#BA35B5
secondary
#82C885
accent
#DF4E49
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA35B5

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

Preview Lab → · Contrast checker → · Palette generator →

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