#BA35C4#BA35C4

#BA35C4 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.4% C 0.230 H 324.9°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#BA35C4
RGBrgb(186, 53, 196)
HSLhsl(296, 57%, 49%)
HSVhsv(296, 73%, 77%)
CMYKcmyk(5.1%, 73%, 0%, 23.1%)
CIE-LABlab(48.23, 69.13, -47.41)
CIE-LCHlch(48.23, 83.82, 325.56°)
OKLaboklab(58.38% 0.188 -0.132)
OKLCHoklch(58.38% 0.23 324.9)
XYZxyz(31.4858, 16.9729, 53.8315)
Luminance0.1697 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA35C4 #3FC435
analogous
#7335C4 #BA35C4 #C43587
triadic
#BA35C4 #C4BA35 #35C4BA
tetradic
#BA35C4 #C47335 #3FC435 #3587C4
square
#BA35C4 #C47335 #3FC435 #3587C4
split-complementary
#BA35C4 #87C435 #35C473
monochromatic
#5F1B64 #8C2894 #BA35C4 #CC62D4 #DC92E1

Accessibility & contrast

On white

4.78
#BA35C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#BA35C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA35C4
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA35C4#FFFFFF#000000##FFFFFF
##BA35C41.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C8
Deuteranopia (green-blind)
#5278C1
Tritanopia (blue-blind)
#BE4E7A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba35c4;
/* rgb */ color: rgb(186, 53, 196);
/* oklch */ color: oklch(58.4% 0.230 324.9);
Tailwind
colors: {
  custom: {
    50: '#d37ad6',
    500: '#ba35c4',
    950: '#000000',
  },
}
SCSS
$custom: #ba35c4;
$custom-light: #d37ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba35c4",
  "rgb": {
    "r": 186,
    "g": 53,
    "b": 196
  },
  "hsl": {
    "h": 295.804,
    "s": 57.43,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58384,
    "c": 0.22974,
    "h": 324.9
  },
  "luminance": 0.16971
}

Semantic roles & 50–950 ramp

primary
#BA35C4
secondary
#8DCC88
accent
#E14752
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BA35C4

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

Preview Lab → · Contrast checker → · Palette generator →

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