#BA4ADE#BA4ADE

#BA4ADE is a mid, highly saturated purple. Relative luminance 0.206; OKLCH L 61.9% C 0.227 H 316.8°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#BA4ADE
RGBrgb(186, 74, 222)
HSLhsl(285, 69%, 58%)
HSVhsv(285, 67%, 87%)
CMYKcmyk(16.2%, 66.7%, 0%, 12.9%)
CIE-LABlab(52.52, 66.01, -55.44)
CIE-LCHlch(52.52, 86.20, 319.98°)
OKLaboklab(61.95% 0.1659 -0.1556)
OKLCHoklch(61.95% 0.227 316.8)
XYZxyz(35.8813, 20.6120, 71.1815)
Luminance0.2061 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4ADE #6EDE4A
analogous
#704ADE #BA4ADE #DE4AB8
triadic
#BA4ADE #DEBA4A #4ADEBA
tetradic
#BA4ADE #DE704A #6EDE4A #4AB8DE
square
#BA4ADE #DE704A #6EDE4A #4AB8DE
split-complementary
#BA4ADE #B8DE4A #4ADE70
monochromatic
#761B93 #9F24C7 #BA4ADE #CE7EE7 #E1B2F1

Accessibility & contrast

On white

4.10
#BA4ADE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#BA4ADE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4ADE
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4ADE#FFFFFF#000000##000000
##BA4ADE1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E2
Deuteranopia (green-blind)
#4C81DB
Tritanopia (blue-blind)
#B8668E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ba4ade;
/* rgb */ color: rgb(186, 74, 222);
/* oklch */ color: oklch(61.9% 0.227 316.8);
Tailwind
colors: {
  custom: {
    50: '#d385e9',
    500: '#ba4ade',
    950: '#000000',
  },
}
SCSS
$custom: #ba4ade;
$custom-light: #d385e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4ade",
  "rgb": {
    "r": 186,
    "g": 74,
    "b": 222
  },
  "hsl": {
    "h": 285.405,
    "s": 69.159,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61948,
    "c": 0.22745,
    "h": 316.8
  },
  "luminance": 0.20611
}

Semantic roles & 50–950 ramp

primary
#BA4ADE
secondary
#B3DFA4
accent
#EC3C67
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BA4ADE

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

Preview Lab → · Contrast checker → · Palette generator →

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