#BA35AF#BA35AF

#BA35AF is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.2% C 0.214 H 331.6°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#BA35AF
RGBrgb(186, 53, 175)
HSLhsl(305, 56%, 47%)
HSVhsv(305, 72%, 73%)
CMYKcmyk(0%, 71.5%, 5.9%, 27.1%)
CIE-LABlab(47.08, 65.70, -36.95)
CIE-LCHlch(47.08, 75.38, 330.64°)
OKLaboklab(57.2% 0.1879 -0.1017)
OKLCHoklch(57.2% 0.214 331.6)
XYZxyz(29.2607, 16.0828, 42.1123)
Luminance0.1608 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA35AF #35BA40
analogous
#8235BA #BA35AF #BA356D
triadic
#BA35AF #AFBA35 #35AFBA
tetradic
#BA35AF #BA8235 #35BA40 #356DBA
square
#BA35AF #BA8235 #35BA40 #356DBA
split-complementary
#BA35AF #6DBA35 #35BA82
monochromatic
#5B1A55 #8A2782 #BA35AF #D05CC7 #DE8BD7

Accessibility & contrast

On white

4.98
#BA35AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#BA35AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA35AF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA35AF#FFFFFF#000000##FFFFFF
##BA35AF1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B64B2
Deuteranopia (green-blind)
#5F76AC
Tritanopia (blue-blind)
#C2446E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #ba35af;
/* rgb */ color: rgb(186, 53, 175);
/* oklch */ color: oklch(57.2% 0.214 331.6);
Tailwind
colors: {
  custom: {
    50: '#d279c7',
    500: '#ba35af',
    950: '#000000',
  },
}
SCSS
$custom: #ba35af;
$custom-light: #d279c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba35af",
  "rgb": {
    "r": 186,
    "g": 53,
    "b": 175
  },
  "hsl": {
    "h": 304.962,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57197,
    "c": 0.21365,
    "h": 331.6
  },
  "luminance": 0.1608
}

Semantic roles & 50–950 ramp

primary
#BA35AF
secondary
#82C888
accent
#DF5549
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA35AF

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

Preview Lab → · Contrast checker → · Palette generator →

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