#BA4FC0#BA4FC0

#BA4FC0 is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.8% C 0.194 H 325.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#BA4FC0
RGBrgb(186, 79, 192)
HSLhsl(297, 47%, 53%)
HSVhsv(297, 59%, 75%)
CMYKcmyk(3.1%, 58.9%, 0%, 24.7%)
CIE-LABlab(51.65, 58.24, -39.66)
CIE-LCHlch(51.65, 70.46, 325.75°)
OKLaboklab(60.79% 0.1597 -0.1097)
OKLCHoklch(60.79% 0.194 325.5)
XYZxyz(32.5594, 19.8387, 51.9732)
Luminance0.1984 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4FC0 #55C04F
analogous
#814FC0 #BA4FC0 #C04F8D
triadic
#BA4FC0 #C0BA4F #4FC0BA
tetradic
#BA4FC0 #C0814F #55C04F #4F8DC0
square
#BA4FC0 #C0814F #55C04F #4F8DC0
split-complementary
#BA4FC0 #8DC04F #4FC081
monochromatic
#6A276D #95379A #BA4FC0 #CC7CD0 #DDA9E0

Accessibility & contrast

On white

4.23
#BA4FC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#BA4FC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4FC0
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4FC0#FFFFFF#000000##000000
##BA4FC01.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F73C3
Deuteranopia (green-blind)
#6480BD
Tritanopia (blue-blind)
#BE5E80
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ba4fc0;
/* rgb */ color: rgb(186, 79, 192);
/* oklch */ color: oklch(60.8% 0.194 325.5);
Tailwind
colors: {
  custom: {
    50: '#d286d3',
    500: '#ba4fc0',
    950: '#000000',
  },
}
SCSS
$custom: #ba4fc0;
$custom-light: #d286d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4fc0",
  "rgb": {
    "r": 186,
    "g": 79,
    "b": 192
  },
  "hsl": {
    "h": 296.814,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60788,
    "c": 0.1937,
    "h": 325.5
  },
  "luminance": 0.19837
}

Semantic roles & 50–950 ramp

primary
#BA4FC0
secondary
#A0CE9D
accent
#D75158
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #BA4FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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