#BA49FC#BA49FC

#BA49FC is a light, highly saturated violet. Relative luminance 0.222; OKLCH L 63.8% C 0.256 H 309.8°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#BA49FC
RGBrgb(186, 73, 252)
HSLhsl(278, 97%, 64%)
HSVhsv(278, 71%, 99%)
CMYKcmyk(26.2%, 71%, 0%, 1.2%)
CIE-LABlab(54.27, 72.41, -69.44)
CIE-LCHlch(54.27, 100.33, 316.20°)
OKLaboklab(63.8% 0.164 -0.1967)
OKLCHoklch(63.8% 0.256 309.8)
XYZxyz(40.1995, 22.2333, 94.2504)
Luminance0.2223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA49FC #8BFC49
analogous
#6049FC #BA49FC #FC49E5
triadic
#BA49FC #FCBA49 #49FCBA
tetradic
#BA49FC #FC6049 #8BFC49 #49E5FC
square
#BA49FC #FC6049 #8BFC49 #49E5FC
split-complementary
#BA49FC #E5FC49 #49FC60
monochromatic
#7F03C7 #A30DFB #BA49FC #D185FD #E8C1FE

Accessibility & contrast

On white

3.86
#BA49FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#BA49FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA49FC
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA49FC#FFFFFF#000000##000000
##BA49FC1.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#2283F8
Tritanopia (blue-blind)
#B1729E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ba49fc;
/* rgb */ color: rgb(186, 73, 252);
/* oklch */ color: oklch(63.8% 0.256 309.8);
Tailwind
colors: {
  custom: {
    50: '#d485fe',
    500: '#ba49fc',
    950: '#000000',
  },
}
SCSS
$custom: #ba49fc;
$custom-light: #d485fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ba49fc",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 252
  },
  "hsl": {
    "h": 277.877,
    "s": 96.757,
    "l": 63.725
  },
  "oklch": {
    "l": 0.63801,
    "c": 0.25609,
    "h": 309.8
  },
  "luminance": 0.22232
}

Semantic roles & 50–950 ramp

primary
#BA49FC
secondary
#C8F0B1
accent
#E60055
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C18
muted
#837D86

Preview Lab

Preview with #BA49FC

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

Preview Lab → · Contrast checker → · Palette generator →

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