#BA49EF#BA49EF

#BA49EF is a light, highly saturated purple. Relative luminance 0.214; OKLCH L 62.9% C 0.244 H 312.7°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#BA49EF
RGBrgb(186, 73, 239)
HSLhsl(281, 84%, 61%)
HSVhsv(281, 69%, 94%)
CMYKcmyk(22.2%, 69.5%, 0%, 6.3%)
CIE-LABlab(53.42, 69.77, -63.56)
CIE-LCHlch(53.42, 94.39, 317.67°)
OKLaboklab(62.93% 0.1656 -0.1794)
OKLCHoklch(62.93% 0.244 312.7)
XYZxyz(38.2094, 21.4373, 83.7696)
Luminance0.2144 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA49EF #7EEF49
analogous
#6749EF #BA49EF #EF49D1
triadic
#BA49EF #EFBA49 #49EFBA
tetradic
#BA49EF #EF6749 #7EEF49 #49D1EF
square
#BA49EF #EF6749 #7EEF49 #49D1EF
split-complementary
#BA49EF #D1EF49 #49EF67
monochromatic
#7C0FAE #A314E7 #BA49EF #CF81F4 #E5BAF9

Accessibility & contrast

On white

3.97
#BA49EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#BA49EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA49EF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA49EF#FFFFFF#000000##000000
##BA49EF1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF4
Deuteranopia (green-blind)
#3982EB
Tritanopia (blue-blind)
#B46C97
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ba49ef;
/* rgb */ color: rgb(186, 73, 239);
/* oklch */ color: oklch(62.9% 0.244 312.7);
Tailwind
colors: {
  custom: {
    50: '#d385f5',
    500: '#ba49ef',
    950: '#000000',
  },
}
SCSS
$custom: #ba49ef;
$custom-light: #d385f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba49ef",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 239
  },
  "hsl": {
    "h": 280.843,
    "s": 83.838,
    "l": 61.176
  },
  "oklch": {
    "l": 0.62928,
    "c": 0.24417,
    "h": 312.7
  },
  "luminance": 0.21436
}

Semantic roles & 50–950 ramp

primary
#BA49EF
secondary
#BFE9AB
accent
#E0054B
background
#FDF8FF
surface
#FBF0FE
border
#D4CBD6
text
#150C17
muted
#837D85

Preview Lab

Preview with #BA49EF

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

Preview Lab → · Contrast checker → · Palette generator →

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