#BA35B7#BA35B7

#BA35B7 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 57.6% C 0.220 H 328.9°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#BA35B7
RGBrgb(186, 53, 183)
HSLhsl(301, 56%, 47%)
HSVhsv(301, 72%, 73%)
CMYKcmyk(0%, 71.5%, 1.6%, 27.1%)
CIE-LABlab(47.50, 66.98, -40.99)
CIE-LCHlch(47.50, 78.52, 328.53°)
OKLaboklab(57.64% 0.1882 -0.1133)
OKLCHoklch(57.64% 0.22 328.9)
XYZxyz(30.0698, 16.4064, 46.3736)
Luminance0.1640 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA35B7 #35BA38
analogous
#7A35BA #BA35B7 #BA3575
triadic
#BA35B7 #B7BA35 #35B7BA
tetradic
#BA35B7 #BA7A35 #35BA38 #3575BA
square
#BA35B7 #BA7A35 #35BA38 #3575BA
split-complementary
#BA35B7 #75BA35 #35BA7A
monochromatic
#5B1A59 #8A2788 #BA35B7 #D05CCE #DE8BDC

Accessibility & contrast

On white

4.91
#BA35B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#BA35B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA35B7
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA35B7#FFFFFF#000000##FFFFFF
##BA35B71.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2165BB
Deuteranopia (green-blind)
#5A77B4
Tritanopia (blue-blind)
#C04873
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba35b7;
/* rgb */ color: rgb(186, 53, 183);
/* oklch */ color: oklch(57.6% 0.220 328.9);
Tailwind
colors: {
  custom: {
    50: '#d279cd',
    500: '#ba35b7',
    950: '#000000',
  },
}
SCSS
$custom: #ba35b7;
$custom-light: #d279cd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba35b7",
  "rgb": {
    "r": 186,
    "g": 53,
    "b": 183
  },
  "hsl": {
    "h": 301.353,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57635,
    "c": 0.21966,
    "h": 328.9
  },
  "luminance": 0.16404
}

Semantic roles & 50–950 ramp

primary
#BA35B7
secondary
#82C884
accent
#DF4C49
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA35B7

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

Preview Lab → · Contrast checker → · Palette generator →

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