#BA3ECB#BA3ECB

#BA3ECB is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.6% C 0.225 H 322.6°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#BA3ECB
RGBrgb(186, 62, 203)
HSLhsl(293, 58%, 52%)
HSVhsv(293, 69%, 80%)
CMYKcmyk(8.4%, 69.5%, 0%, 20.4%)
CIE-LABlab(49.74, 67.19, -49.05)
CIE-LCHlch(49.74, 83.19, 323.87°)
OKLaboklab(59.59% 0.1792 -0.1368)
OKLCHoklch(59.59% 0.225 322.6)
XYZxyz(32.7507, 18.1980, 58.2758)
Luminance0.1820 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3ECB #4FCB3E
analogous
#743ECB #BA3ECB #CB3E96
triadic
#BA3ECB #CBBA3E #3ECBBA
tetradic
#BA3ECB #CB743E #4FCB3E #3E96CB
square
#BA3ECB #CB743E #4FCB3E #3E96CB
split-complementary
#BA3ECB #96CB3E #3ECB74
monochromatic
#661E70 #922BA1 #BA3ECB #CB6ED8 #DC9EE5

Accessibility & contrast

On white

4.53
#BA3ECB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#BA3ECB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA3ECB
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3ECB#FFFFFF#000000##000000
##BA3ECB1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A6DCF
Deuteranopia (green-blind)
#537BC8
Tritanopia (blue-blind)
#BD5780
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba3ecb;
/* rgb */ color: rgb(186, 62, 203);
/* oklch */ color: oklch(59.6% 0.225 322.6);
Tailwind
colors: {
  custom: {
    50: '#d27edb',
    500: '#ba3ecb',
    950: '#000000',
  },
}
SCSS
$custom: #ba3ecb;
$custom-light: #d27edb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3ecb",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 203
  },
  "hsl": {
    "h": 292.766,
    "s": 57.551,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59593,
    "c": 0.22544,
    "h": 322.6
  },
  "luminance": 0.18196
}

Semantic roles & 50–950 ramp

primary
#BA3ECB
secondary
#9BD194
accent
#E1475A
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BA3ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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