#BA33AE#BA33AE

#BA33AE is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.0% C 0.215 H 331.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#BA33AE
RGBrgb(186, 51, 174)
HSLhsl(305, 57%, 46%)
HSVhsv(305, 73%, 73%)
CMYKcmyk(0%, 72.6%, 6.5%, 27.1%)
CIE-LABlab(46.80, 66.21, -36.82)
CIE-LCHlch(46.80, 75.76, 330.93°)
OKLaboklab(56.97% 0.1898 -0.1012)
OKLCHoklch(56.97% 0.215 331.9)
XYZxyz(29.0736, 15.8651, 41.5672)
Luminance0.1586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA33AE #33BA3F
analogous
#8333BA #BA33AE #BA336B
triadic
#BA33AE #AEBA33 #33AEBA
tetradic
#BA33AE #BA8333 #33BA3F #336BBA
square
#BA33AE #BA8333 #33BA3F #336BBA
split-complementary
#BA33AE #6BBA33 #33BA83
monochromatic
#5A1954 #8A2681 #BA33AE #D159C7 #DF89D7

Accessibility & contrast

On white

5.03
#BA33AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#BA33AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA33AE
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA33AE#FFFFFF#000000##FFFFFF
##BA33AE1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A63B1
Deuteranopia (green-blind)
#5E76AB
Tritanopia (blue-blind)
#C2426D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba33ae;
/* rgb */ color: rgb(186, 51, 174);
/* oklch */ color: oklch(57.0% 0.215 331.9);
Tailwind
colors: {
  custom: {
    50: '#d278c6',
    500: '#ba33ae',
    950: '#000000',
  },
}
SCSS
$custom: #ba33ae;
$custom-light: #d278c6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba33ae",
  "rgb": {
    "r": 186,
    "g": 51,
    "b": 174
  },
  "hsl": {
    "h": 305.333,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.56974,
    "c": 0.2151,
    "h": 331.9
  },
  "luminance": 0.15863
}

Semantic roles & 50–950 ramp

primary
#BA33AE
secondary
#80C987
accent
#E05548
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA33AE

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

Preview Lab → · Contrast checker → · Palette generator →

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