#BA3FE3#BA3FE3

#BA3FE3 is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 61.2% C 0.245 H 316.2°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#BA3FE3
RGBrgb(186, 63, 227)
HSLhsl(285, 75%, 57%)
HSVhsv(285, 72%, 89%)
CMYKcmyk(18.1%, 72.2%, 0%, 11%)
CIE-LABlab(51.31, 71.24, -60.21)
CIE-LCHlch(51.31, 93.28, 319.80°)
OKLaboklab(61.18% 0.1765 -0.1695)
OKLCHoklch(61.18% 0.245 316.2)
XYZxyz(35.8902, 19.5416, 74.5395)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3FE3 #68E33F
analogous
#683FE3 #BA3FE3 #E33FBA
triadic
#BA3FE3 #E3BA3F #3FE3BA
tetradic
#BA3FE3 #E3683F #68E33F #3FBAE3
square
#BA3FE3 #E3683F #68E33F #3FBAE3
split-complementary
#BA3FE3 #BAE33F #3FE368
monochromatic
#731592 #9D1DC8 #BA3FE3 #CD74EB #E0AAF3

Accessibility & contrast

On white

4.28
#BA3FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#BA3FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA3FE3
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3FE3#FFFFFF#000000##000000
##BA3FE31.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba3fe3;
/* rgb */ color: rgb(186, 63, 227);
/* oklch */ color: oklch(61.2% 0.245 316.2);
Tailwind
colors: {
  custom: {
    50: '#d37fed',
    500: '#ba3fe3',
    950: '#000000',
  },
}
SCSS
$custom: #ba3fe3;
$custom-light: #d37fed;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3fe3",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 227
  },
  "hsl": {
    "h": 285,
    "s": 74.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61184,
    "c": 0.2447,
    "h": 316.2
  },
  "luminance": 0.1954
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA3FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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