#BA3EBA#BA3EBA

#BA3EBA is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.6% C 0.212 H 327.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#BA3EBA
RGBrgb(186, 62, 186)
HSLhsl(300, 50%, 49%)
HSVhsv(300, 67%, 73%)
CMYKcmyk(0%, 66.7%, 0%, 27.1%)
CIE-LABlab(48.80, 64.25, -40.69)
CIE-LCHlch(48.80, 76.05, 327.66°)
OKLaboklab(58.62% 0.1791 -0.1125)
OKLCHoklch(58.62% 0.212 327.9)
XYZxyz(30.8348, 17.4316, 48.1854)
Luminance0.1743 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3EBA #3EBA3E
analogous
#7C3EBA #BA3EBA #BA3E7C
triadic
#BA3EBA #BABA3E #3EBABA
tetradic
#BA3EBA #BA7C3E #3EBA3E #3E7CBA
square
#BA3EBA #BA7C3E #3EBA3E #3E7CBA
split-complementary
#BA3EBA #7CBA3E #3EBA7C
monochromatic
#5E1F5E #8C2F8C #BA3EBA #CD68CD #DC96DC

Accessibility & contrast

On white

4.68
#BA3EBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#BA3EBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3EBA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3EBA#FFFFFF#000000##FFFFFF
##BA3EBA1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6ABE
Deuteranopia (green-blind)
#5D7AB7
Tritanopia (blue-blind)
#C04F77
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba3eba;
/* rgb */ color: rgb(186, 62, 186);
/* oklch */ color: oklch(58.6% 0.212 327.9);
Tailwind
colors: {
  custom: {
    50: '#d27dcf',
    500: '#ba3eba',
    950: '#000000',
  },
}
SCSS
$custom: #ba3eba;
$custom-light: #d27dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3eba",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 186
  },
  "hsl": {
    "h": 300,
    "s": 50,
    "l": 48.627
  },
  "oklch": {
    "l": 0.58618,
    "c": 0.21153,
    "h": 327.9
  },
  "luminance": 0.1743
}

Semantic roles & 50–950 ramp

primary
#BA3EBA
secondary
#8CC88C
accent
#DA4E4E
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #BA3EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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