#BA3EE3#BA3EE3

#BA3EE3 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 61.1% C 0.246 H 316.2°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#BA3EE3
RGBrgb(186, 62, 227)
HSLhsl(285, 75%, 57%)
HSVhsv(285, 73%, 89%)
CMYKcmyk(18.1%, 72.7%, 0%, 11%)
CIE-LABlab(51.19, 71.60, -60.41)
CIE-LCHlch(51.19, 93.68, 319.85°)
OKLaboklab(61.09% 0.1774 -0.1701)
OKLCHoklch(61.09% 0.246 316.2)
XYZxyz(35.8353, 19.4318, 74.5212)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3EE3 #67E33E
analogous
#683EE3 #BA3EE3 #E33EBA
triadic
#BA3EE3 #E3BA3E #3EE3BA
tetradic
#BA3EE3 #E3683E #67E33E #3EBAE3
square
#BA3EE3 #E3683E #67E33E #3EBAE3
split-complementary
#BA3EE3 #BAE33E #3EE368
monochromatic
#731591 #9D1DC7 #BA3EE3 #CD73EB #E0A9F3

Accessibility & contrast

On white

4.30
#BA3EE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#BA3EE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA3EE3
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3EE3#FFFFFF#000000##000000
##BA3EE31.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073E8
Deuteranopia (green-blind)
#3D7DDF
Tritanopia (blue-blind)
#B7618E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba3ee3;
/* rgb */ color: rgb(186, 62, 227);
/* oklch */ color: oklch(61.1% 0.246 316.2);
Tailwind
colors: {
  custom: {
    50: '#d37fed',
    500: '#ba3ee3',
    950: '#000000',
  },
}
SCSS
$custom: #ba3ee3;
$custom-light: #d37fed;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3ee3",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 227
  },
  "hsl": {
    "h": 285.091,
    "s": 74.661,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61094,
    "c": 0.24577,
    "h": 316.2
  },
  "luminance": 0.1943
}

Semantic roles & 50–950 ramp

primary
#BA3EE3
secondary
#ADE09D
accent
#F13765
background
#FDF8FE
surface
#FBEFFD
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BA3EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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