#BA49DF#BA49DF

#BA49DF is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.9% C 0.230 H 316.6°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#BA49DF
RGBrgb(186, 73, 223)
HSLhsl(285, 70%, 58%)
HSVhsv(285, 67%, 87%)
CMYKcmyk(16.6%, 67.3%, 0%, 12.5%)
CIE-LABlab(52.43, 66.62, -56.14)
CIE-LCHlch(52.43, 87.12, 319.88°)
OKLaboklab(61.9% 0.1669 -0.1577)
OKLCHoklch(61.9% 0.23 316.6)
XYZxyz(35.9495, 20.5333, 71.8674)
Luminance0.2053 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA49DF #6EDF49
analogous
#6F49DF #BA49DF #DF49B9
triadic
#BA49DF #DFBA49 #49DFBA
tetradic
#BA49DF #DF6F49 #6EDF49 #49B9DF
square
#BA49DF #DF6F49 #6EDF49 #49B9DF
split-complementary
#BA49DF #B9DF49 #49DF6F
monochromatic
#761A94 #9F23C8 #BA49DF #CE7DE8 #E1B1F1

Accessibility & contrast

On white

4.11
#BA49DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#BA49DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA49DF
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA49DF#FFFFFF#000000##000000
##BA49DF1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#4B80DB
Tritanopia (blue-blind)
#B8668F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ba49df;
/* rgb */ color: rgb(186, 73, 223);
/* oklch */ color: oklch(61.9% 0.230 316.6);
Tailwind
colors: {
  custom: {
    50: '#d384ea',
    500: '#ba49df',
    950: '#000000',
  },
}
SCSS
$custom: #ba49df;
$custom-light: #d384ea;
$custom-dark: #000000;
JSON
{
  "hex": "#ba49df",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 223
  },
  "hsl": {
    "h": 285.2,
    "s": 70.093,
    "l": 58.039
  },
  "oklch": {
    "l": 0.61904,
    "c": 0.2296,
    "h": 316.6
  },
  "luminance": 0.20532
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA49DF

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

Preview Lab → · Contrast checker → · Palette generator →

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