#BA35BC#BA35BC

#BA35BC is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.9% C 0.224 H 327.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#BA35BC
RGBrgb(186, 53, 188)
HSLhsl(299, 56%, 47%)
HSVhsv(299, 72%, 74%)
CMYKcmyk(1.1%, 71.8%, 0%, 26.3%)
CIE-LABlab(47.78, 67.79, -43.48)
CIE-LCHlch(47.78, 80.53, 327.33°)
OKLaboklab(57.92% 0.1882 -0.1206)
OKLCHoklch(57.92% 0.224 327.4)
XYZxyz(30.5994, 16.6183, 49.1632)
Luminance0.1662 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA35BC #37BC35
analogous
#7635BC #BA35BC #BC357B
triadic
#BA35BC #BCBA35 #35BCBA
tetradic
#BA35BC #BC7635 #37BC35 #357BBC
square
#BA35BC #BC7635 #37BC35 #357BBC
split-complementary
#BA35BC #7BBC35 #35BC76
monochromatic
#5C1A5D #8B288C #BA35BC #D05DD1 #DE8DDF

Accessibility & contrast

On white

4.86
#BA35BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#BA35BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA35BC
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA35BC#FFFFFF#000000##FFFFFF
##BA35BC1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1866C0
Deuteranopia (green-blind)
#5777B9
Tritanopia (blue-blind)
#BF4A76
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba35bc;
/* rgb */ color: rgb(186, 53, 188);
/* oklch */ color: oklch(57.9% 0.224 327.4);
Tailwind
colors: {
  custom: {
    50: '#d379d1',
    500: '#ba35bc',
    950: '#000000',
  },
}
SCSS
$custom: #ba35bc;
$custom-light: #d379d1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba35bc",
  "rgb": {
    "r": 186,
    "g": 53,
    "b": 188
  },
  "hsl": {
    "h": 299.111,
    "s": 56.017,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57918,
    "c": 0.2235,
    "h": 327.4
  },
  "luminance": 0.16616
}

Semantic roles & 50–950 ramp

primary
#BA35BC
secondary
#85C984
accent
#DF484B
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BA35BC

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

Preview Lab → · Contrast checker → · Palette generator →

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