#BA3CBB#BA3CBB

#BA3CBB is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.5% C 0.215 H 327.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#BA3CBB
RGBrgb(186, 60, 187)
HSLhsl(300, 51%, 48%)
HSVhsv(300, 68%, 73%)
CMYKcmyk(0.5%, 67.9%, 0%, 26.7%)
CIE-LABlab(48.59, 65.17, -41.61)
CIE-LCHlch(48.59, 77.32, 327.44°)
OKLaboklab(58.48% 0.1813 -0.1152)
OKLCHoklch(58.48% 0.215 327.6)
XYZxyz(30.8348, 17.2608, 48.7117)
Luminance0.1726 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3CBB #3DBB3C
analogous
#7A3CBB #BA3CBB #BB3C7C
triadic
#BA3CBB #BBBA3C #3CBBBA
tetradic
#BA3CBB #BB7A3C #3DBB3C #3C7CBB
square
#BA3CBB #BB7A3C #3DBB3C #3C7CBB
split-complementary
#BA3CBB #7CBB3C #3CBB7A
monochromatic
#5E1E5E #8C2D8D #BA3CBB #CD66CE #DC95DD

Accessibility & contrast

On white

4.72
#BA3CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#BA3CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3CBB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3CBB#FFFFFF#000000##FFFFFF
##BA3CBB1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2769BF
Deuteranopia (green-blind)
#5C79B8
Tritanopia (blue-blind)
#C04E77
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba3cbb;
/* rgb */ color: rgb(186, 60, 187);
/* oklch */ color: oklch(58.5% 0.215 327.6);
Tailwind
colors: {
  custom: {
    50: '#d27cd0',
    500: '#ba3cbb',
    950: '#000000',
  },
}
SCSS
$custom: #ba3cbb;
$custom-light: #d27cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3cbb",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 187
  },
  "hsl": {
    "h": 299.528,
    "s": 51.417,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58482,
    "c": 0.21476,
    "h": 327.6
  },
  "luminance": 0.17259
}

Semantic roles & 50–950 ramp

primary
#BA3CBB
secondary
#8BC88B
accent
#DB4D4E
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BA3CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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