#BA4FCA#BA4FCA

#BA4FCA is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.3% C 0.203 H 322.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#BA4FCA
RGBrgb(186, 79, 202)
HSLhsl(292, 54%, 55%)
HSVhsv(292, 61%, 79%)
CMYKcmyk(7.9%, 60.9%, 0%, 20.8%)
CIE-LABlab(52.17, 60.06, -44.60)
CIE-LCHlch(52.17, 74.81, 323.41°)
OKLaboklab(61.33% 0.1603 -0.124)
OKLCHoklch(61.33% 0.203 322.3)
XYZxyz(33.7052, 20.2971, 58.0080)
Luminance0.2029 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4FCA #5FCA4F
analogous
#7C4FCA #BA4FCA #CA4F9D
triadic
#BA4FCA #CABA4F #4FCABA
tetradic
#BA4FCA #CA7C4F #5FCA4F #4F9DCA
square
#BA4FCA #CA7C4F #5FCA4F #4F9DCA
split-complementary
#BA4FCA #9DCA4F #4FCA7C
monochromatic
#6F257A #9A33A9 #BA4FCA #CC7ED8 #DFADE6

Accessibility & contrast

On white

4.15
#BA4FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#BA4FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4FCA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4FCA#FFFFFF#000000##000000
##BA4FCA1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3575CE
Deuteranopia (green-blind)
#5E81C7
Tritanopia (blue-blind)
#BC6285
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ba4fca;
/* rgb */ color: rgb(186, 79, 202);
/* oklch */ color: oklch(61.3% 0.203 322.3);
Tailwind
colors: {
  custom: {
    50: '#d287da',
    500: '#ba4fca',
    950: '#000000',
  },
}
SCSS
$custom: #ba4fca;
$custom-light: #d287da;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4fca",
  "rgb": {
    "r": 186,
    "g": 79,
    "b": 202
  },
  "hsl": {
    "h": 292.195,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61332,
    "c": 0.20264,
    "h": 322.3
  },
  "luminance": 0.20295
}

Semantic roles & 50–950 ramp

primary
#BA4FCA
secondary
#A7D4A1
accent
#DD4B5E
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA4FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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