#BA3BBE#BA3BBE

#BA3BBE is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.6% C 0.218 H 326.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#BA3BBE
RGBrgb(186, 59, 190)
HSLhsl(298, 53%, 49%)
HSVhsv(298, 69%, 75%)
CMYKcmyk(2.1%, 68.9%, 0%, 25.5%)
CIE-LABlab(48.62, 66.04, -43.30)
CIE-LCHlch(48.62, 78.97, 326.75°)
OKLaboklab(58.56% 0.1823 -0.1201)
OKLCHoklch(58.56% 0.218 326.6)
XYZxyz(31.1074, 17.2868, 50.4035)
Luminance0.1729 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3BBE #3FBE3B
analogous
#793BBE #BA3BBE #BE3B81
triadic
#BA3BBE #BEBA3B #3BBEBA
tetradic
#BA3BBE #BE793B #3FBE3B #3B81BE
square
#BA3BBE #BE793B #3FBE3B #3B81BE
split-complementary
#BA3BBE #81BE3B #3BBE79
monochromatic
#5F1E61 #8C2C8F #BA3BBE #CC67D0 #DC95DE

Accessibility & contrast

On white

4.71
#BA3BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#BA3BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3BBE
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3BBE#FFFFFF#000000##FFFFFF
##BA3BBE1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2169C2
Deuteranopia (green-blind)
#5979BB
Tritanopia (blue-blind)
#BF4F78
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #ba3bbe;
/* rgb */ color: rgb(186, 59, 190);
/* oklch */ color: oklch(58.6% 0.218 326.6);
Tailwind
colors: {
  custom: {
    50: '#d27cd2',
    500: '#ba3bbe',
    950: '#000000',
  },
}
SCSS
$custom: #ba3bbe;
$custom-light: #d27cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3bbe",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 190
  },
  "hsl": {
    "h": 298.168,
    "s": 52.61,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58558,
    "c": 0.21833,
    "h": 326.6
  },
  "luminance": 0.17285
}

Semantic roles & 50–950 ramp

primary
#BA3BBE
secondary
#8DCA8B
accent
#DC4C50
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BA3BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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