#BA33B0#BA33B0

#BA33B0 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.1% C 0.217 H 331.2°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#BA33B0
RGBrgb(186, 51, 176)
HSLhsl(304, 57%, 46%)
HSVhsv(304, 73%, 73%)
CMYKcmyk(0%, 72.6%, 5.4%, 27.1%)
CIE-LABlab(46.90, 66.53, -37.83)
CIE-LCHlch(46.90, 76.53, 330.37°)
OKLaboklab(57.08% 0.1899 -0.1042)
OKLCHoklch(57.08% 0.217 331.2)
XYZxyz(29.2700, 15.9437, 42.6017)
Luminance0.1594 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA33B0 #33BA3D
analogous
#8133BA #BA33B0 #BA336D
triadic
#BA33B0 #B0BA33 #33B0BA
tetradic
#BA33B0 #BA8133 #33BA3D #336DBA
square
#BA33B0 #BA8133 #33BA3D #336DBA
split-complementary
#BA33B0 #6DBA33 #33BA81
monochromatic
#5A1955 #8A2683 #BA33B0 #D159C8 #DF89D8

Accessibility & contrast

On white

5.01
#BA33B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#BA33B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA33B0
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA33B0#FFFFFF#000000##FFFFFF
##BA33B01.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2763B3
Deuteranopia (green-blind)
#5D76AD
Tritanopia (blue-blind)
#C1436E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba33b0;
/* rgb */ color: rgb(186, 51, 176);
/* oklch */ color: oklch(57.1% 0.217 331.2);
Tailwind
colors: {
  custom: {
    50: '#d378c8',
    500: '#ba33b0',
    950: '#000000',
  },
}
SCSS
$custom: #ba33b0;
$custom-light: #d378c8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba33b0",
  "rgb": {
    "r": 186,
    "g": 51,
    "b": 176
  },
  "hsl": {
    "h": 304.444,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.57082,
    "c": 0.21658,
    "h": 331.2
  },
  "luminance": 0.15941
}

Semantic roles & 50–950 ramp

primary
#BA33B0
secondary
#80C986
accent
#E05348
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA33B0

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

Preview Lab → · Contrast checker → · Palette generator →

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