#BA3CE2#BA3CE2

#BA3CE2 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.9% C 0.247 H 316.5°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#BA3CE2
RGBrgb(186, 60, 226)
HSLhsl(286, 74%, 56%)
HSVhsv(286, 73%, 89%)
CMYKcmyk(17.7%, 73.5%, 0%, 11.4%)
CIE-LABlab(50.88, 72.12, -60.35)
CIE-LCHlch(50.88, 94.04, 320.08°)
OKLaboklab(60.85% 0.1793 -0.1699)
OKLCHoklch(60.85% 0.247 316.5)
XYZxyz(35.5909, 19.1633, 73.7609)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3CE2 #64E23C
analogous
#673CE2 #BA3CE2 #E23CB7
triadic
#BA3CE2 #E2BA3C #3CE2BA
tetradic
#BA3CE2 #E2673C #64E23C #3CB7E2
square
#BA3CE2 #E2673C #64E23C #3CB7E2
split-complementary
#BA3CE2 #B7E23C #3CE267
monochromatic
#71158E #9C1DC4 #BA3CE2 #CD71EA #E0A7F2

Accessibility & contrast

On white

4.35
#BA3CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#BA3CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA3CE2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3CE2#FFFFFF#000000##000000
##BA3CE21.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E7
Deuteranopia (green-blind)
#3C7DDE
Tritanopia (blue-blind)
#B8608D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba3ce2;
/* rgb */ color: rgb(186, 60, 226);
/* oklch */ color: oklch(60.9% 0.247 316.5);
Tailwind
colors: {
  custom: {
    50: '#d37eec',
    500: '#ba3ce2',
    950: '#000000',
  },
}
SCSS
$custom: #ba3ce2;
$custom-light: #d37eec;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3ce2",
  "rgb": {
    "r": 186,
    "g": 60,
    "b": 226
  },
  "hsl": {
    "h": 285.542,
    "s": 74.107,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60853,
    "c": 0.24703,
    "h": 316.5
  },
  "luminance": 0.19162
}

Semantic roles & 50–950 ramp

primary
#BA3CE2
secondary
#ABDF9B
accent
#F13764
background
#FDF8FE
surface
#FBEFFD
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BA3CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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