#BA49F8#BA49F8

#BA49F8 is a light, highly saturated violet. Relative luminance 0.220; OKLCH L 63.5% C 0.252 H 310.7°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#BA49F8
RGBrgb(186, 73, 248)
HSLhsl(279, 93%, 63%)
HSVhsv(279, 71%, 97%)
CMYKcmyk(25%, 70.6%, 0%, 2.7%)
CIE-LABlab(54.01, 71.59, -67.65)
CIE-LCHlch(54.01, 98.50, 316.62°)
OKLaboklab(63.53% 0.1645 -0.1914)
OKLCHoklch(63.53% 0.252 310.7)
XYZxyz(39.5723, 21.9824, 90.9472)
Luminance0.2198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA49F8 #87F849
analogous
#6249F8 #BA49F8 #F849DE
triadic
#BA49F8 #F8BA49 #49F8BA
tetradic
#BA49F8 #F86249 #87F849 #49DEF8
square
#BA49F8 #F86249 #87F849 #49DEF8
split-complementary
#BA49F8 #DEF849 #49F862
monochromatic
#7E07BF #A40EF6 #BA49F8 #D084FA #E7BFFD

Accessibility & contrast

On white

3.89
#BA49F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#BA49F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA49F8
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA49F8#FFFFFF#000000##000000
##BA49F81.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFD
Deuteranopia (green-blind)
#2B83F4
Tritanopia (blue-blind)
#B2709C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ba49f8;
/* rgb */ color: rgb(186, 73, 248);
/* oklch */ color: oklch(63.5% 0.252 310.7);
Tailwind
colors: {
  custom: {
    50: '#d485fb',
    500: '#ba49f8',
    950: '#000000',
  },
}
SCSS
$custom: #ba49f8;
$custom-light: #d485fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba49f8",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 248
  },
  "hsl": {
    "h": 278.743,
    "s": 92.593,
    "l": 62.941
  },
  "oklch": {
    "l": 0.63529,
    "c": 0.25242,
    "h": 310.7
  },
  "luminance": 0.21982
}

Semantic roles & 50–950 ramp

primary
#BA49F8
secondary
#C5EEAF
accent
#E60051
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C18
muted
#837D86

Preview Lab

Preview with #BA49F8

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

Preview Lab → · Contrast checker → · Palette generator →

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