#BA4FC3#BA4FC3

#BA4FC3 is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.9% C 0.196 H 324.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#BA4FC3
RGBrgb(186, 79, 195)
HSLhsl(295, 49%, 54%)
HSVhsv(295, 59%, 76%)
CMYKcmyk(4.6%, 59.5%, 0%, 23.5%)
CIE-LABlab(51.81, 58.78, -41.15)
CIE-LCHlch(51.81, 71.75, 325.01°)
OKLaboklab(60.95% 0.1599 -0.114)
OKLCHoklch(60.95% 0.196 324.5)
XYZxyz(32.8952, 19.9730, 53.7417)
Luminance0.1997 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4FC3 #58C34F
analogous
#804FC3 #BA4FC3 #C34F92
triadic
#BA4FC3 #C3BA4F #4FC3BA
tetradic
#BA4FC3 #C3804F #58C34F #4F92C3
square
#BA4FC3 #C3804F #58C34F #4F92C3
split-complementary
#BA4FC3 #92C34F #4FC380
monochromatic
#6B2771 #97369F #BA4FC3 #CC7DD3 #DEAAE2

Accessibility & contrast

On white

4.20
#BA4FC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#BA4FC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4FC3
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4FC3#FFFFFF#000000##000000
##BA4FC31.004.204.994.99
#FFFFFF4.201.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C73C7
Deuteranopia (green-blind)
#6280C0
Tritanopia (blue-blind)
#BE5F82
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ba4fc3;
/* rgb */ color: rgb(186, 79, 195);
/* oklch */ color: oklch(60.9% 0.196 324.5);
Tailwind
colors: {
  custom: {
    50: '#d287d5',
    500: '#ba4fc3',
    950: '#000000',
  },
}
SCSS
$custom: #ba4fc3;
$custom-light: #d287d5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4fc3",
  "rgb": {
    "r": 186,
    "g": 79,
    "b": 195
  },
  "hsl": {
    "h": 295.345,
    "s": 49.153,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60949,
    "c": 0.19636,
    "h": 324.5
  },
  "luminance": 0.19971
}

Semantic roles & 50–950 ramp

primary
#BA4FC3
secondary
#A2D09E
accent
#D94F5A
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #BA4FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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