#BA35C1#BA35C1

#BA35C1 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.2% C 0.227 H 325.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#BA35C1
RGBrgb(186, 53, 193)
HSLhsl(297, 57%, 48%)
HSVhsv(297, 73%, 76%)
CMYKcmyk(3.6%, 72.5%, 0%, 24.3%)
CIE-LABlab(48.05, 68.62, -45.94)
CIE-LCHlch(48.05, 82.58, 326.20°)
OKLaboklab(58.21% 0.1881 -0.1277)
OKLCHoklch(58.21% 0.227 325.8)
XYZxyz(31.1478, 16.8376, 52.0511)
Luminance0.1684 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA35C1 #3CC135
analogous
#7435C1 #BA35C1 #C13582
triadic
#BA35C1 #C1BA35 #35C1BA
tetradic
#BA35C1 #C17435 #3CC135 #3582C1
square
#BA35C1 #C17435 #3CC135 #3582C1
split-complementary
#BA35C1 #82C135 #35C174
monochromatic
#5D1B61 #8C2891 #BA35C1 #CE60D3 #DC90E0

Accessibility & contrast

On white

4.81
#BA35C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#BA35C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA35C1
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA35C1#FFFFFF#000000##FFFFFF
##BA35C11.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A68C5
Deuteranopia (green-blind)
#5478BE
Tritanopia (blue-blind)
#BF4D78
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba35c1;
/* rgb */ color: rgb(186, 53, 193);
/* oklch */ color: oklch(58.2% 0.227 325.8);
Tailwind
colors: {
  custom: {
    50: '#d37ad4',
    500: '#ba35c1',
    950: '#000000',
  },
}
SCSS
$custom: #ba35c1;
$custom-light: #d37ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba35c1",
  "rgb": {
    "r": 186,
    "g": 53,
    "b": 193
  },
  "hsl": {
    "h": 297,
    "s": 56.911,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58207,
    "c": 0.22739,
    "h": 325.8
  },
  "luminance": 0.16836
}

Semantic roles & 50–950 ramp

primary
#BA35C1
secondary
#8ACB87
accent
#E0484F
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BA35C1

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

Preview Lab → · Contrast checker → · Palette generator →

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