#BA35BF#BA35BF

#BA35BF is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.1% C 0.226 H 326.4°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#BA35BF
RGBrgb(186, 53, 191)
HSLhsl(298, 57%, 48%)
HSVhsv(298, 72%, 75%)
CMYKcmyk(2.6%, 72.3%, 0%, 25.1%)
CIE-LABlab(47.94, 68.29, -44.96)
CIE-LCHlch(47.94, 81.76, 326.64°)
OKLaboklab(58.09% 0.1882 -0.1249)
OKLCHoklch(58.09% 0.226 326.4)
XYZxyz(30.9262, 16.7490, 50.8841)
Luminance0.1675 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA35BF #3ABF35
analogous
#7535BF #BA35BF #BF357F
triadic
#BA35BF #BFBA35 #35BFBA
tetradic
#BA35BF #BF7535 #3ABF35 #357FBF
square
#BA35BF #BF7535 #3ABF35 #357FBF
split-complementary
#BA35BF #7FBF35 #35BF75
monochromatic
#5D1A5F #8B288F #BA35BF #CE5FD3 #DD8FE0

Accessibility & contrast

On white

4.83
#BA35BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#BA35BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA35BF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA35BF#FFFFFF#000000##FFFFFF
##BA35BF1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1167C3
Deuteranopia (green-blind)
#5678BC
Tritanopia (blue-blind)
#BF4C77
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba35bf;
/* rgb */ color: rgb(186, 53, 191);
/* oklch */ color: oklch(58.1% 0.226 326.4);
Tailwind
colors: {
  custom: {
    50: '#d379d3',
    500: '#ba35bf',
    950: '#000000',
  },
}
SCSS
$custom: #ba35bf;
$custom-light: #d379d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba35bf",
  "rgb": {
    "r": 186,
    "g": 53,
    "b": 191
  },
  "hsl": {
    "h": 297.826,
    "s": 56.557,
    "l": 47.843
  },
  "oklch": {
    "l": 0.58091,
    "c": 0.22582,
    "h": 326.4
  },
  "luminance": 0.16747
}

Semantic roles & 50–950 ramp

primary
#BA35BF
secondary
#88CA85
accent
#E0484D
background
#FDF7FD
surface
#FAEEFA
border
#D3C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BA35BF

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

Preview Lab → · Contrast checker → · Palette generator →

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