#BA4FCC#BA4FCC

#BA4FCC is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.4% C 0.204 H 321.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#BA4FCC
RGBrgb(186, 79, 204)
HSLhsl(291, 55%, 55%)
HSVhsv(291, 61%, 80%)
CMYKcmyk(8.8%, 61.3%, 0%, 20%)
CIE-LABlab(52.28, 60.44, -45.57)
CIE-LCHlch(52.28, 75.69, 322.98°)
OKLaboklab(61.44% 0.1603 -0.1268)
OKLCHoklch(61.44% 0.204 321.7)
XYZxyz(33.9436, 20.3924, 59.2632)
Luminance0.2039 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4FCC #61CC4F
analogous
#7B4FCC #BA4FCC #CC4F9F
triadic
#BA4FCC #CCBA4F #4FCCBA
tetradic
#BA4FCC #CC7B4F #61CC4F #4F9FCC
square
#BA4FCC #CC7B4F #61CC4F #4F9FCC
split-complementary
#BA4FCC #9FCC4F #4FCC7B
monochromatic
#70247D #9A32AC #BA4FCC #CD7EDA #DFAEE7

Accessibility & contrast

On white

4.14
#BA4FCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#BA4FCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4FCC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4FCC#FFFFFF#000000##000000
##BA4FCC1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3375D0
Deuteranopia (green-blind)
#5D81C9
Tritanopia (blue-blind)
#BC6286
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ba4fcc;
/* rgb */ color: rgb(186, 79, 204);
/* oklch */ color: oklch(61.4% 0.204 321.7);
Tailwind
colors: {
  custom: {
    50: '#d287dc',
    500: '#ba4fcc',
    950: '#000000',
  },
}
SCSS
$custom: #ba4fcc;
$custom-light: #d287dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4fcc",
  "rgb": {
    "r": 186,
    "g": 79,
    "b": 204
  },
  "hsl": {
    "h": 291.36,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61444,
    "c": 0.20444,
    "h": 321.7
  },
  "luminance": 0.20391
}

Semantic roles & 50–950 ramp

primary
#BA4FCC
secondary
#A9D5A1
accent
#DE495F
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA4FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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