#BA3BB0#BA3BB0

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

Color values

HEX#BA3BB0
RGBrgb(186, 59, 176)
HSLhsl(305, 52%, 48%)
HSVhsv(305, 68%, 73%)
CMYKcmyk(0%, 68.3%, 5.4%, 27.1%)
CIE-LABlab(47.88, 63.74, -36.28)
CIE-LCHlch(47.88, 73.34, 330.35°)
OKLaboklab(57.79% 0.1818 -0.0998)
OKLCHoklch(57.79% 0.207 331.2)
XYZxyz(29.6501, 16.7039, 42.7284)
Luminance0.1670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3BB0 #3BBA45
analogous
#843BBA #BA3BB0 #BA3B71
triadic
#BA3BB0 #B0BA3B #3BB0BA
tetradic
#BA3BB0 #BA843B #3BBA45 #3B71BA
square
#BA3BB0 #BA843B #3BBA45 #3B71BA
split-complementary
#BA3BB0 #71BA3B #3BBA84
monochromatic
#5D1E58 #8C2C84 #BA3BB0 #CE64C6 #DD93D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3BB0#FFFFFF#000000##FFFFFF
##BA3BB01.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)
#3266B3
Deuteranopia (green-blind)
#6178AD
Tritanopia (blue-blind)
#C14971
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba3bb0;
/* rgb */ color: rgb(186, 59, 176);
/* oklch */ color: oklch(57.8% 0.207 331.2);
Tailwind
colors: {
  custom: {
    50: '#d27cc8',
    500: '#ba3bb0',
    950: '#000000',
  },
}
SCSS
$custom: #ba3bb0;
$custom-light: #d27cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3bb0",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 176
  },
  "hsl": {
    "h": 304.724,
    "s": 51.837,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57791,
    "c": 0.20739,
    "h": 331.2
  },
  "luminance": 0.16702
}

Semantic roles & 50–950 ramp

primary
#BA3BB0
secondary
#89C88E
accent
#DB584D
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #BA3BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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