#BA3EE1#BA3EE1

#BA3EE1 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 61.0% C 0.244 H 316.7°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#BA3EE1
RGBrgb(186, 62, 225)
HSLhsl(286, 73%, 56%)
HSVhsv(286, 72%, 88%)
CMYKcmyk(17.3%, 72.4%, 0%, 11.8%)
CIE-LABlab(51.06, 71.23, -59.48)
CIE-LCHlch(51.06, 92.80, 320.13°)
OKLaboklab(60.96% 0.1776 -0.1674)
OKLCHoklch(60.96% 0.244 316.7)
XYZxyz(35.5609, 19.3221, 73.0759)
Luminance0.1932 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3EE1 #65E13E
analogous
#693EE1 #BA3EE1 #E13EB7
triadic
#BA3EE1 #E1BA3E #3EE1BA
tetradic
#BA3EE1 #E1693E #65E13E #3EB7E1
square
#BA3EE1 #E1693E #65E13E #3EB7E1
split-complementary
#BA3EE1 #B7E13E #3EE169
monochromatic
#72168E #9C1EC3 #BA3EE1 #CD73E9 #E0A8F1

Accessibility & contrast

On white

4.32
#BA3EE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#BA3EE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA3EE1
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3EE1#FFFFFF#000000##000000
##BA3EE11.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E6
Deuteranopia (green-blind)
#3F7DDD
Tritanopia (blue-blind)
#B8608D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba3ee1;
/* rgb */ color: rgb(186, 62, 225);
/* oklch */ color: oklch(61.0% 0.244 316.7);
Tailwind
colors: {
  custom: {
    50: '#d37feb',
    500: '#ba3ee1',
    950: '#000000',
  },
}
SCSS
$custom: #ba3ee1;
$custom-light: #d37feb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3ee1",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 225
  },
  "hsl": {
    "h": 285.644,
    "s": 73.094,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60964,
    "c": 0.24406,
    "h": 316.7
  },
  "luminance": 0.19321
}

Semantic roles & 50–950 ramp

primary
#BA3EE1
secondary
#ACDF9C
accent
#F03864
background
#FDF8FE
surface
#FBEFFD
border
#D4CAD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BA3EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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