#BA35D0#BA35D0

#BA35D0 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 59.1% C 0.239 H 321.5°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#BA35D0
RGBrgb(186, 53, 208)
HSLhsl(291, 62%, 51%)
HSVhsv(291, 75%, 82%)
CMYKcmyk(10.6%, 74.5%, 0%, 18.4%)
CIE-LABlab(48.93, 71.20, -53.20)
CIE-LCHlch(48.93, 88.88, 323.23°)
OKLaboklab(59.12% 0.1873 -0.1489)
OKLCHoklch(59.12% 0.239 321.5)
XYZxyz(32.9067, 17.5412, 61.3148)
Luminance0.1754 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA35D0 #4BD035
analogous
#6C35D0 #BA35D0 #D03598
triadic
#BA35D0 #D0BA35 #35D0BA
tetradic
#BA35D0 #D06C35 #4BD035 #3598D0
square
#BA35D0 #D06C35 #4BD035 #3598D0
split-complementary
#BA35D0 #98D035 #35D06C
monochromatic
#641A70 #9026A2 #BA35D0 #CB67DC #DC98E7

Accessibility & contrast

On white

4.66
#BA35D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#BA35D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA35D0
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA35D0#FFFFFF#000000##FFFFFF
##BA35D01.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD4
Deuteranopia (green-blind)
#4979CC
Tritanopia (blue-blind)
#BC5481
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba35d0;
/* rgb */ color: rgb(186, 53, 208);
/* oklch */ color: oklch(59.1% 0.239 321.5);
Tailwind
colors: {
  custom: {
    50: '#d37adf',
    500: '#ba35d0',
    950: '#000000',
  },
}
SCSS
$custom: #ba35d0;
$custom-light: #d37adf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba35d0",
  "rgb": {
    "r": 186,
    "g": 53,
    "b": 208
  },
  "hsl": {
    "h": 291.484,
    "s": 62.249,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59117,
    "c": 0.2393,
    "h": 321.5
  },
  "luminance": 0.17539
}

Semantic roles & 50–950 ramp

primary
#BA35D0
secondary
#98D38E
accent
#E5425A
background
#FDF7FD
surface
#FBEEFB
border
#D4C9D4
text
#150A15
muted
#837C83

Preview Lab

Preview with #BA35D0

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

Preview Lab → · Contrast checker → · Palette generator →

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