#BA35BE#BA35BE

#BA35BE is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.0% C 0.225 H 326.7°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#BA35BE
RGBrgb(186, 53, 190)
HSLhsl(298, 56%, 48%)
HSVhsv(298, 72%, 75%)
CMYKcmyk(2.1%, 72.1%, 0%, 25.5%)
CIE-LABlab(47.89, 68.12, -44.47)
CIE-LCHlch(47.89, 81.35, 326.87°)
OKLaboklab(58.03% 0.1882 -0.1234)
OKLCHoklch(58.03% 0.225 326.7)
XYZxyz(30.8165, 16.7051, 50.3065)
Luminance0.1670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA35BE #39BE35
analogous
#7535BE #BA35BE #BE357E
triadic
#BA35BE #BEBA35 #35BEBA
tetradic
#BA35BE #BE7535 #39BE35 #357EBE
square
#BA35BE #BE7535 #39BE35 #357EBE
split-complementary
#BA35BE #7EBE35 #35BE75
monochromatic
#5C1A5E #8B288E #BA35BE #CF5ED2 #DD8EDF

Accessibility & contrast

On white

4.84
#BA35BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#BA35BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA35BE
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA35BE#FFFFFF#000000##FFFFFF
##BA35BE1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1467C2
Deuteranopia (green-blind)
#5677BB
Tritanopia (blue-blind)
#BF4B77
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba35be;
/* rgb */ color: rgb(186, 53, 190);
/* oklch */ color: oklch(58.0% 0.225 326.7);
Tailwind
colors: {
  custom: {
    50: '#d379d2',
    500: '#ba35be',
    950: '#000000',
  },
}
SCSS
$custom: #ba35be;
$custom-light: #d379d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba35be",
  "rgb": {
    "r": 186,
    "g": 53,
    "b": 190
  },
  "hsl": {
    "h": 298.248,
    "s": 56.379,
    "l": 47.647
  },
  "oklch": {
    "l": 0.58033,
    "c": 0.22505,
    "h": 326.7
  },
  "luminance": 0.16703
}

Semantic roles & 50–950 ramp

primary
#BA35BE
secondary
#87CA85
accent
#E0484D
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BA35BE

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

Preview Lab → · Contrast checker → · Palette generator →

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