#BA35B3#BA35B3

#BA35B3 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.4% C 0.217 H 330.2°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#BA35B3
RGBrgb(186, 53, 179)
HSLhsl(303, 56%, 47%)
HSVhsv(303, 72%, 73%)
CMYKcmyk(0%, 71.5%, 3.8%, 27.1%)
CIE-LABlab(47.29, 66.33, -38.98)
CIE-LCHlch(47.29, 76.94, 329.56°)
OKLaboklab(57.41% 0.1881 -0.1075)
OKLCHoklch(57.41% 0.217 330.2)
XYZxyz(29.6594, 16.2423, 44.2120)
Luminance0.1624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA35B3 #35BA3C
analogous
#7F35BA #BA35B3 #BA3571
triadic
#BA35B3 #B3BA35 #35B3BA
tetradic
#BA35B3 #BA7F35 #35BA3C #3571BA
square
#BA35B3 #BA7F35 #35BA3C #3571BA
split-complementary
#BA35B3 #71BA35 #35BA7F
monochromatic
#5B1A57 #8A2785 #BA35B3 #D05CCA #DE8BDA

Accessibility & contrast

On white

4.94
#BA35B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#BA35B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA35B3
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA35B3#FFFFFF#000000##FFFFFF
##BA35B31.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2765B6
Deuteranopia (green-blind)
#5C77B0
Tritanopia (blue-blind)
#C14671
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba35b3;
/* rgb */ color: rgb(186, 53, 179);
/* oklch */ color: oklch(57.4% 0.217 330.2);
Tailwind
colors: {
  custom: {
    50: '#d279ca',
    500: '#ba35b3',
    950: '#000000',
  },
}
SCSS
$custom: #ba35b3;
$custom-light: #d279ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ba35b3",
  "rgb": {
    "r": 186,
    "g": 53,
    "b": 179
  },
  "hsl": {
    "h": 303.158,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57413,
    "c": 0.21663,
    "h": 330.2
  },
  "luminance": 0.1624
}

Semantic roles & 50–950 ramp

primary
#BA35B3
secondary
#82C886
accent
#DF5149
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA35B3

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

Preview Lab → · Contrast checker → · Palette generator →

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