#BA49DB#BA49DB

#BA49DB is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.7% C 0.226 H 317.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#BA49DB
RGBrgb(186, 73, 219)
HSLhsl(286, 67%, 57%)
HSVhsv(286, 67%, 86%)
CMYKcmyk(15.1%, 66.7%, 0%, 14.1%)
CIE-LABlab(52.20, 65.84, -54.26)
CIE-LCHlch(52.20, 85.32, 320.51°)
OKLaboklab(61.66% 0.1671 -0.1521)
OKLCHoklch(61.66% 0.226 317.7)
XYZxyz(35.4166, 20.3202, 69.0607)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA49DB #6ADB49
analogous
#7149DB #BA49DB #DB49B3
triadic
#BA49DB #DBBA49 #49DBBA
tetradic
#BA49DB #DB7149 #6ADB49 #49B3DB
square
#BA49DB #DB7149 #6ADB49 #49B3DB
split-complementary
#BA49DB #B3DB49 #49DB71
monochromatic
#741C8E #9E26C1 #BA49DB #CD7CE5 #E1AFEF

Accessibility & contrast

On white

4.15
#BA49DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#BA49DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA49DB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA49DB#FFFFFF#000000##000000
##BA49DB1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#4E80D8
Tritanopia (blue-blind)
#B9648C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ba49db;
/* rgb */ color: rgb(186, 73, 219);
/* oklch */ color: oklch(61.7% 0.226 317.7);
Tailwind
colors: {
  custom: {
    50: '#d284e7',
    500: '#ba49db',
    950: '#000000',
  },
}
SCSS
$custom: #ba49db;
$custom-light: #d284e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba49db",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 219
  },
  "hsl": {
    "h": 286.438,
    "s": 66.972,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61658,
    "c": 0.22598,
    "h": 317.7
  },
  "luminance": 0.20319
}

Semantic roles & 50–950 ramp

primary
#BA49DB
secondary
#B0DDA2
accent
#EA3E65
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#150B16
muted
#837C84

Preview Lab

Preview with #BA49DB

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

Preview Lab → · Contrast checker → · Palette generator →

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