#BA3FC4#BA3FC4

#BA3FC4 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.3% C 0.218 H 324.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#BA3FC4
RGBrgb(186, 63, 196)
HSLhsl(295, 53%, 51%)
HSVhsv(295, 68%, 77%)
CMYKcmyk(5.1%, 67.9%, 0%, 23.1%)
CIE-LABlab(49.47, 65.59, -45.42)
CIE-LCHlch(49.47, 79.78, 325.29°)
OKLaboklab(59.28% 0.1782 -0.1263)
OKLCHoklch(59.28% 0.218 324.7)
XYZxyz(31.9902, 17.9816, 53.9997)
Luminance0.1798 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3FC4 #49C43F
analogous
#773FC4 #BA3FC4 #C43F8B
triadic
#BA3FC4 #C4BA3F #3FC4BA
tetradic
#BA3FC4 #C4773F #49C43F #3F8BC4
square
#BA3FC4 #C4773F #49C43F #3F8BC4
split-complementary
#BA3FC4 #8BC43F #3FC477
monochromatic
#632068 #8F2E97 #BA3FC4 #CB6ED2 #DC9DE1

Accessibility & contrast

On white

4.57
#BA3FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#BA3FC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA3FC4
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3FC4#FFFFFF#000000##000000
##BA3FC41.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F6CC8
Deuteranopia (green-blind)
#587BC1
Tritanopia (blue-blind)
#BE547D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba3fc4;
/* rgb */ color: rgb(186, 63, 196);
/* oklch */ color: oklch(59.3% 0.218 324.7);
Tailwind
colors: {
  custom: {
    50: '#d27ed6',
    500: '#ba3fc4',
    950: '#000000',
  },
}
SCSS
$custom: #ba3fc4;
$custom-light: #d27ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3fc4",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 196
  },
  "hsl": {
    "h": 295.489,
    "s": 52.988,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59278,
    "c": 0.21845,
    "h": 324.7
  },
  "luminance": 0.1798
}

Semantic roles & 50–950 ramp

primary
#BA3FC4
secondary
#96CD92
accent
#DC4B56
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BA3FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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