#BA49DE#BA49DE

#BA49DE is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.8% C 0.229 H 316.9°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#BA49DE
RGBrgb(186, 73, 222)
HSLhsl(286, 69%, 58%)
HSVhsv(286, 67%, 87%)
CMYKcmyk(16.2%, 67.1%, 0%, 12.9%)
CIE-LABlab(52.38, 66.42, -55.67)
CIE-LCHlch(52.38, 86.67, 320.03°)
OKLaboklab(61.84% 0.167 -0.1563)
OKLCHoklch(61.84% 0.229 316.9)
XYZxyz(35.8151, 20.4796, 71.1594)
Luminance0.2048 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA49DE #6DDE49
analogous
#6F49DE #BA49DE #DE49B8
triadic
#BA49DE #DEBA49 #49DEBA
tetradic
#BA49DE #DE6F49 #6DDE49 #49B8DE
square
#BA49DE #DE6F49 #6DDE49 #49B8DE
split-complementary
#BA49DE #B8DE49 #49DE6F
monochromatic
#751A92 #9F24C6 #BA49DE #CE7DE7 #E1B1F1

Accessibility & contrast

On white

4.12
#BA49DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#BA49DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA49DE
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA49DE#FFFFFF#000000##000000
##BA49DE1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba49de;
/* rgb */ color: rgb(186, 73, 222);
/* oklch */ color: oklch(61.8% 0.229 316.9);
Tailwind
colors: {
  custom: {
    50: '#d384e9',
    500: '#ba49de',
    950: '#000000',
  },
}
SCSS
$custom: #ba49de;
$custom-light: #d384e9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba49de",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 222
  },
  "hsl": {
    "h": 285.503,
    "s": 69.302,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61842,
    "c": 0.2287,
    "h": 316.9
  },
  "luminance": 0.20478
}

Semantic roles & 50–950 ramp

primary
#BA49DE
secondary
#B2DFA4
accent
#EC3C66
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BA49DE

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

Preview Lab → · Contrast checker → · Palette generator →

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