#BA35C2#BA35C2

#BA35C2 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.3% C 0.228 H 325.5°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#BA35C2
RGBrgb(186, 53, 194)
HSLhsl(297, 57%, 48%)
HSVhsv(297, 73%, 76%)
CMYKcmyk(4.1%, 72.7%, 0%, 23.9%)
CIE-LABlab(48.11, 68.79, -46.43)
CIE-LCHlch(48.11, 82.99, 325.98°)
OKLaboklab(58.27% 0.1881 -0.1292)
OKLCHoklch(58.27% 0.228 325.5)
XYZxyz(31.2597, 16.8824, 52.6406)
Luminance0.1688 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA35C2 #3DC235
analogous
#7335C2 #BA35C2 #C23583
triadic
#BA35C2 #C2BA35 #35C2BA
tetradic
#BA35C2 #C27335 #3DC235 #3583C2
square
#BA35C2 #C27335 #3DC235 #3583C2
split-complementary
#BA35C2 #83C235 #35C273
monochromatic
#5E1B62 #8C2892 #BA35C2 #CD60D4 #DC91E1

Accessibility & contrast

On white

4.80
#BA35C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#BA35C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA35C2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA35C2#FFFFFF#000000##FFFFFF
##BA35C21.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0668C6
Deuteranopia (green-blind)
#5478BF
Tritanopia (blue-blind)
#BE4D79
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba35c2;
/* rgb */ color: rgb(186, 53, 194);
/* oklch */ color: oklch(58.3% 0.228 325.5);
Tailwind
colors: {
  custom: {
    50: '#d37ad5',
    500: '#ba35c2',
    950: '#000000',
  },
}
SCSS
$custom: #ba35c2;
$custom-light: #d37ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba35c2",
  "rgb": {
    "r": 186,
    "g": 53,
    "b": 194
  },
  "hsl": {
    "h": 296.596,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58266,
    "c": 0.22817,
    "h": 325.5
  },
  "luminance": 0.1688
}

Semantic roles & 50–950 ramp

primary
#BA35C2
secondary
#8BCC87
accent
#E04750
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BA35C2

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

Preview Lab → · Contrast checker → · Palette generator →

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