#BA49E2#BA49E2

#BA49E2 is a light, highly saturated purple. Relative luminance 0.207; OKLCH L 62.1% C 0.232 H 315.9°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#BA49E2
RGBrgb(186, 73, 226)
HSLhsl(284, 73%, 59%)
HSVhsv(284, 68%, 89%)
CMYKcmyk(17.7%, 67.7%, 0%, 11.4%)
CIE-LABlab(52.62, 67.20, -57.55)
CIE-LCHlch(52.62, 88.48, 319.42°)
OKLaboklab(62.09% 0.1667 -0.1618)
OKLCHoklch(62.09% 0.232 315.9)
XYZxyz(36.3576, 20.6965, 74.0164)
Luminance0.2069 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA49E2 #71E249
analogous
#6D49E2 #BA49E2 #E249BD
triadic
#BA49E2 #E2BA49 #49E2BA
tetradic
#BA49E2 #E26D49 #71E249 #49BDE2
square
#BA49E2 #E26D49 #71E249 #49BDE2
split-complementary
#BA49E2 #BDE249 #49E26D
monochromatic
#771898 #A021CD #BA49E2 #CE7EEA #E2B3F3

Accessibility & contrast

On white

4.09
#BA49E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#BA49E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA49E2
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA49E2#FFFFFF#000000##000000
##BA49E21.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E6
Deuteranopia (green-blind)
#4881DE
Tritanopia (blue-blind)
#B76790
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ba49e2;
/* rgb */ color: rgb(186, 73, 226);
/* oklch */ color: oklch(62.1% 0.232 315.9);
Tailwind
colors: {
  custom: {
    50: '#d384ec',
    500: '#ba49e2',
    950: '#000000',
  },
}
SCSS
$custom: #ba49e2;
$custom-light: #d384ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ba49e2",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 226
  },
  "hsl": {
    "h": 284.314,
    "s": 72.512,
    "l": 58.627
  },
  "oklch": {
    "l": 0.62092,
    "c": 0.23232,
    "h": 315.9
  },
  "luminance": 0.20695
}

Semantic roles & 50–950 ramp

primary
#BA49E2
secondary
#B5E2A5
accent
#EF3968
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BA49E2

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

Preview Lab → · Contrast checker → · Palette generator →

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