#BA3FE0#BA3FE0

#BA3FE0 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 61.0% C 0.242 H 316.9°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#BA3FE0
RGBrgb(186, 63, 224)
HSLhsl(286, 72%, 56%)
HSVhsv(286, 72%, 88%)
CMYKcmyk(17%, 71.9%, 0%, 12.2%)
CIE-LABlab(51.13, 70.68, -58.81)
CIE-LCHlch(51.13, 91.95, 320.23°)
OKLaboklab(60.99% 0.1768 -0.1654)
OKLCHoklch(60.99% 0.242 316.9)
XYZxyz(35.4797, 19.3774, 72.3779)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3FE0 #65E03F
analogous
#6A3FE0 #BA3FE0 #E03FB5
triadic
#BA3FE0 #E0BA3F #3FE0BA
tetradic
#BA3FE0 #E06A3F #65E03F #3FB5E0
square
#BA3FE0 #E06A3F #65E03F #3FB5E0
split-complementary
#BA3FE0 #B5E03F #3FE06A
monochromatic
#72178E #9C1FC2 #BA3FE0 #CD74E9 #E0A8F1

Accessibility & contrast

On white

4.31
#BA3FE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#BA3FE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA3FE0
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3FE0#FFFFFF#000000##000000
##BA3FE01.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E5
Deuteranopia (green-blind)
#417DDC
Tritanopia (blue-blind)
#B8608C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba3fe0;
/* rgb */ color: rgb(186, 63, 224);
/* oklch */ color: oklch(61.0% 0.242 316.9);
Tailwind
colors: {
  custom: {
    50: '#d37fea',
    500: '#ba3fe0',
    950: '#000000',
  },
}
SCSS
$custom: #ba3fe0;
$custom-light: #d37fea;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3fe0",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 224
  },
  "hsl": {
    "h": 285.839,
    "s": 72.197,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60989,
    "c": 0.24212,
    "h": 316.9
  },
  "luminance": 0.19376
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA3FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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