#BA49E0#BA49E0

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

Color values

HEX#BA49E0
RGBrgb(186, 73, 224)
HSLhsl(285, 71%, 58%)
HSVhsv(285, 67%, 88%)
CMYKcmyk(17%, 67.4%, 0%, 12.2%)
CIE-LABlab(52.49, 66.81, -56.61)
CIE-LCHlch(52.49, 87.57, 319.72°)
OKLaboklab(61.97% 0.1668 -0.159)
OKLCHoklch(61.97% 0.231 316.4)
XYZxyz(36.0847, 20.5874, 72.5795)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA49E0 #6FE049
analogous
#6E49E0 #BA49E0 #E049BA
triadic
#BA49E0 #E0BA49 #49E0BA
tetradic
#BA49E0 #E06E49 #6FE049 #49BAE0
square
#BA49E0 #E06E49 #6FE049 #49BAE0
split-complementary
#BA49E0 #BAE049 #49E06E
monochromatic
#761995 #9F22C9 #BA49E0 #CE7DE9 #E2B2F2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA49E0#FFFFFF#000000##000000
##BA49E01.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)
#0076E4
Deuteranopia (green-blind)
#4A80DC
Tritanopia (blue-blind)
#B8668F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ba49e0;
/* rgb */ color: rgb(186, 73, 224);
/* oklch */ color: oklch(62.0% 0.231 316.4);
Tailwind
colors: {
  custom: {
    50: '#d384ea',
    500: '#ba49e0',
    950: '#000000',
  },
}
SCSS
$custom: #ba49e0;
$custom-light: #d384ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ba49e0",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 224
  },
  "hsl": {
    "h": 284.901,
    "s": 70.892,
    "l": 58.235
  },
  "oklch": {
    "l": 0.61967,
    "c": 0.2305,
    "h": 316.4
  },
  "luminance": 0.20586
}

Semantic roles & 50–950 ramp

primary
#BA49E0
secondary
#B3E0A4
accent
#EE3A67
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BA49E0

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

Preview Lab → · Contrast checker → · Palette generator →

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