#BA3FE1#BA3FE1

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

Color values

HEX#BA3FE1
RGBrgb(186, 63, 225)
HSLhsl(286, 73%, 56%)
HSVhsv(286, 72%, 88%)
CMYKcmyk(17.3%, 72%, 0%, 11.8%)
CIE-LABlab(51.19, 70.87, -59.28)
CIE-LCHlch(51.19, 92.39, 320.09°)
OKLaboklab(61.05% 0.1767 -0.1668)
OKLCHoklch(61.05% 0.243 316.7)
XYZxyz(35.6158, 19.4318, 73.0942)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3FE1 #66E13F
analogous
#693FE1 #BA3FE1 #E13FB7
triadic
#BA3FE1 #E1BA3F #3FE1BA
tetradic
#BA3FE1 #E1693F #66E13F #3FB7E1
square
#BA3FE1 #E1693F #66E13F #3FB7E1
split-complementary
#BA3FE1 #B7E13F #3FE169
monochromatic
#72168F #9C1FC4 #BA3FE1 #CD74E9 #E0A9F2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3FE1#FFFFFF#000000##000000
##BA3FE11.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)
#0073E6
Deuteranopia (green-blind)
#407DDD
Tritanopia (blue-blind)
#B8618D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba3fe1;
/* rgb */ color: rgb(186, 63, 225);
/* oklch */ color: oklch(61.1% 0.243 316.7);
Tailwind
colors: {
  custom: {
    50: '#d37feb',
    500: '#ba3fe1',
    950: '#000000',
  },
}
SCSS
$custom: #ba3fe1;
$custom-light: #d37feb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3fe1",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 225
  },
  "hsl": {
    "h": 285.556,
    "s": 72.973,
    "l": 56.471
  },
  "oklch": {
    "l": 0.61054,
    "c": 0.24299,
    "h": 316.7
  },
  "luminance": 0.1943
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA3FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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