#BA49E1#BA49E1

#BA49E1 is a light, highly saturated purple. Relative luminance 0.206; OKLCH L 62.0% C 0.231 H 316.1°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#BA49E1
RGBrgb(186, 73, 225)
HSLhsl(285, 72%, 58%)
HSVhsv(285, 68%, 88%)
CMYKcmyk(17.3%, 67.6%, 0%, 11.8%)
CIE-LABlab(52.56, 67.00, -57.08)
CIE-LCHlch(52.56, 88.02, 319.57°)
OKLaboklab(62.03% 0.1668 -0.1604)
OKLCHoklch(62.03% 0.231 316.1)
XYZxyz(36.2208, 20.6418, 73.2959)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA49E1 #70E149
analogous
#6E49E1 #BA49E1 #E149BC
triadic
#BA49E1 #E1BA49 #49E1BA
tetradic
#BA49E1 #E16E49 #70E149 #49BCE1
square
#BA49E1 #E16E49 #70E149 #49BCE1
split-complementary
#BA49E1 #BCE149 #49E16E
monochromatic
#761997 #A022CB #BA49E1 #CE7EEA #E2B2F2

Accessibility & contrast

On white

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

On black

5.13
#BA49E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA49E1
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA49E1#FFFFFF#000000##000000
##BA49E11.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E5
Deuteranopia (green-blind)
#4981DD
Tritanopia (blue-blind)
#B86790
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ba49e1;
/* rgb */ color: rgb(186, 73, 225);
/* oklch */ color: oklch(62.0% 0.231 316.1);
Tailwind
colors: {
  custom: {
    50: '#d384eb',
    500: '#ba49e1',
    950: '#000000',
  },
}
SCSS
$custom: #ba49e1;
$custom-light: #d384eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba49e1",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 225
  },
  "hsl": {
    "h": 284.605,
    "s": 71.698,
    "l": 58.431
  },
  "oklch": {
    "l": 0.62029,
    "c": 0.23141,
    "h": 316.1
  },
  "luminance": 0.2064
}

Semantic roles & 50–950 ramp

primary
#BA49E1
secondary
#B4E1A5
accent
#EE3968
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BA49E1

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

Preview Lab → · Contrast checker → · Palette generator →

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