#BA3BAE#BA3BAE

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

Color values

HEX#BA3BAE
RGBrgb(186, 59, 174)
HSLhsl(306, 52%, 48%)
HSVhsv(306, 68%, 73%)
CMYKcmyk(0%, 68.3%, 6.5%, 27.1%)
CIE-LABlab(47.78, 63.42, -35.26)
CIE-LCHlch(47.78, 72.56, 330.93°)
OKLaboklab(57.69% 0.1817 -0.0968)
OKLCHoklch(57.69% 0.206 331.9)
XYZxyz(29.4537, 16.6253, 41.6939)
Luminance0.1662 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3BAE #3BBA47
analogous
#863BBA #BA3BAE #BA3B6F
triadic
#BA3BAE #AEBA3B #3BAEBA
tetradic
#BA3BAE #BA863B #3BBA47 #3B6FBA
square
#BA3BAE #BA863B #3BBA47 #3B6FBA
split-complementary
#BA3BAE #6FBA3B #3BBA86
monochromatic
#5D1E57 #8C2C83 #BA3BAE #CE64C4 #DD93D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3BAE#FFFFFF#000000##FFFFFF
##BA3BAE1.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)
#3466B1
Deuteranopia (green-blind)
#6278AB
Tritanopia (blue-blind)
#C24870
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #ba3bae;
/* rgb */ color: rgb(186, 59, 174);
/* oklch */ color: oklch(57.7% 0.206 331.9);
Tailwind
colors: {
  custom: {
    50: '#d27cc6',
    500: '#ba3bae',
    950: '#000000',
  },
}
SCSS
$custom: #ba3bae;
$custom-light: #d27cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3bae",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 174
  },
  "hsl": {
    "h": 305.669,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57686,
    "c": 0.20587,
    "h": 331.9
  },
  "luminance": 0.16623
}

Semantic roles & 50–950 ramp

primary
#BA3BAE
secondary
#89C88F
accent
#DB5A4D
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA3BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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