#BA3CBE#BA3CBE

#BA3CBE is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.7% C 0.217 H 326.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#BA3CBE
RGBrgb(186, 60, 190)
HSLhsl(298, 52%, 49%)
HSVhsv(298, 68%, 75%)
CMYKcmyk(2.1%, 68.4%, 0%, 25.5%)
CIE-LABlab(48.75, 65.67, -43.10)
CIE-LCHlch(48.75, 78.55, 326.73°)
OKLaboklab(58.65% 0.1813 -0.1195)
OKLCHoklch(58.65% 0.217 326.6)
XYZxyz(31.1593, 17.3906, 50.4208)
Luminance0.1739 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3CBE #40BE3C
analogous
#793CBE #BA3CBE #BE3C81
triadic
#BA3CBE #BEBA3C #3CBEBA
tetradic
#BA3CBE #BE793C #40BE3C #3C81BE
square
#BA3CBE #BE793C #40BE3C #3C81BE
split-complementary
#BA3CBE #81BE3C #3CBE79
monochromatic
#5F1F61 #8C2D8F #BA3CBE #CC68CF #DC96DE

Accessibility & contrast

On white

4.69
#BA3CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#BA3CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3CBE
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3CBE#FFFFFF#000000##FFFFFF
##BA3CBE1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#236AC2
Deuteranopia (green-blind)
#5A79BB
Tritanopia (blue-blind)
#BF5079
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba3cbe;
/* rgb */ color: rgb(186, 60, 190);
/* oklch */ color: oklch(58.7% 0.217 326.6);
Tailwind
colors: {
  custom: {
    50: '#d27dd2',
    500: '#ba3cbe',
    950: '#000000',
  },
}
SCSS
$custom: #ba3cbe;
$custom-light: #d27dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3cbe",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 190
  },
  "hsl": {
    "h": 298.154,
    "s": 52,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58651,
    "c": 0.21716,
    "h": 326.6
  },
  "luminance": 0.17389
}

Semantic roles & 50–950 ramp

primary
#BA3CBE
secondary
#8ECA8C
accent
#DB4C51
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BA3CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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