#BA4BC8#BA4BC8

#BA4BC8 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 60.8% C 0.206 H 323.1°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#BA4BC8
RGBrgb(186, 75, 200)
HSLhsl(293, 53%, 54%)
HSVhsv(293, 63%, 78%)
CMYKcmyk(7%, 62.5%, 0%, 21.6%)
CIE-LABlab(51.43, 61.44, -44.62)
CIE-LCHlch(51.43, 75.94, 324.01°)
OKLaboklab(60.76% 0.165 -0.124)
OKLCHoklch(60.76% 0.206 323.1)
XYZxyz(33.1901, 19.6432, 56.6757)
Luminance0.1964 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4BC8 #59C84B
analogous
#7C4BC8 #BA4BC8 #C84B98
triadic
#BA4BC8 #C8BA4B #4BC8BA
tetradic
#BA4BC8 #C87C4B #59C84B #4B98C8
square
#BA4BC8 #C87C4B #59C84B #4B98C8
split-complementary
#BA4BC8 #98C84B #4BC87C
monochromatic
#6C2475 #9732A4 #BA4BC8 #CC7AD6 #DEA9E5

Accessibility & contrast

On white

4.26
#BA4BC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#BA4BC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4BC8
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4BC8#FFFFFF#000000##000000
##BA4BC81.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3172CC
Deuteranopia (green-blind)
#5D7FC5
Tritanopia (blue-blind)
#BD5E83
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ba4bc8;
/* rgb */ color: rgb(186, 75, 200);
/* oklch */ color: oklch(60.8% 0.206 323.1);
Tailwind
colors: {
  custom: {
    50: '#d284d9',
    500: '#ba4bc8',
    950: '#000000',
  },
}
SCSS
$custom: #ba4bc8;
$custom-light: #d284d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4bc8",
  "rgb": {
    "r": 186,
    "g": 75,
    "b": 200
  },
  "hsl": {
    "h": 293.28,
    "s": 53.191,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60761,
    "c": 0.20639,
    "h": 323.1
  },
  "luminance": 0.19641
}

Semantic roles & 50–950 ramp

primary
#BA4BC8
secondary
#A3D29D
accent
#DD4B5B
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140B15
muted
#837C83

Preview Lab

Preview with #BA4BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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