#BA4BD6#BA4BD6

#BA4BD6 is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.6% C 0.219 H 318.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#BA4BD6
RGBrgb(186, 75, 214)
HSLhsl(288, 63%, 57%)
HSVhsv(288, 65%, 84%)
CMYKcmyk(13.1%, 65%, 0%, 16.1%)
CIE-LABlab(52.21, 64.06, -51.40)
CIE-LCHlch(52.21, 82.13, 321.26°)
OKLaboklab(61.57% 0.1651 -0.1438)
OKLCHoklch(61.57% 0.219 318.9)
XYZxyz(34.9018, 20.3279, 65.6905)
Luminance0.2033 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4BD6 #67D64B
analogous
#754BD6 #BA4BD6 #D64BAC
triadic
#BA4BD6 #D6BA4B #4BD6BA
tetradic
#BA4BD6 #D6754B #67D64B #4BACD6
square
#BA4BD6 #D6754B #67D64B #4BACD6
split-complementary
#BA4BD6 #ACD64B #4BD675
monochromatic
#731F88 #9D2ABA #BA4BD6 #CD7DE1 #E0AFED

Accessibility & contrast

On white

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

On black

5.07
#BA4BD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4BD6
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4BD6#FFFFFF#000000##000000
##BA4BD61.004.155.075.07
#FFFFFF4.151.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B75DA
Deuteranopia (green-blind)
#5480D3
Tritanopia (blue-blind)
#BA648A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ba4bd6;
/* rgb */ color: rgb(186, 75, 214);
/* oklch */ color: oklch(61.6% 0.219 318.9);
Tailwind
colors: {
  custom: {
    50: '#d285e3',
    500: '#ba4bd6',
    950: '#000000',
  },
}
SCSS
$custom: #ba4bd6;
$custom-light: #d285e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4bd6",
  "rgb": {
    "r": 186,
    "g": 75,
    "b": 214
  },
  "hsl": {
    "h": 287.914,
    "s": 62.896,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61571,
    "c": 0.21891,
    "h": 318.9
  },
  "luminance": 0.20326
}

Semantic roles & 50–950 ramp

primary
#BA4BD6
secondary
#ADDBA2
accent
#E64263
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#150C15
muted
#837D84

Preview Lab

Preview with #BA4BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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