#BA49D8#BA49D8

#BA49D8 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.5% C 0.223 H 318.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#BA49D8
RGBrgb(186, 73, 216)
HSLhsl(287, 65%, 57%)
HSVhsv(287, 66%, 85%)
CMYKcmyk(13.9%, 66.2%, 0%, 15.3%)
CIE-LABlab(52.02, 65.27, -52.83)
CIE-LCHlch(52.02, 83.97, 321.01°)
OKLaboklab(61.48% 0.1672 -0.148)
OKLCHoklch(61.48% 0.223 318.5)
XYZxyz(35.0252, 20.1636, 66.9994)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA49D8 #67D849
analogous
#7349D8 #BA49D8 #D849AE
triadic
#BA49D8 #D8BA49 #49D8BA
tetradic
#BA49D8 #D87349 #67D849 #49AED8
square
#BA49D8 #D87349 #67D849 #49AED8
split-complementary
#BA49D8 #AED849 #49D873
monochromatic
#731D89 #9D28BC #BA49D8 #CD7BE3 #E0AEEE

Accessibility & contrast

On white

4.17
#BA49D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#BA49D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA49D8
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA49D8#FFFFFF#000000##000000
##BA49D81.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E75DC
Deuteranopia (green-blind)
#5080D5
Tritanopia (blue-blind)
#BA638B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ba49d8;
/* rgb */ color: rgb(186, 73, 216);
/* oklch */ color: oklch(61.5% 0.223 318.5);
Tailwind
colors: {
  custom: {
    50: '#d284e5',
    500: '#ba49d8',
    950: '#000000',
  },
}
SCSS
$custom: #ba49d8;
$custom-light: #d284e5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba49d8",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 216
  },
  "hsl": {
    "h": 287.413,
    "s": 64.706,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61475,
    "c": 0.22329,
    "h": 318.5
  },
  "luminance": 0.20162
}

Semantic roles & 50–950 ramp

primary
#BA49D8
secondary
#ADDCA1
accent
#E84063
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BA49D8

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

Preview Lab → · Contrast checker → · Palette generator →

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