#BA49FF#BA49FF

#BA49FF is a light, highly saturated violet. Relative luminance 0.224; OKLCH L 64.0% C 0.259 H 309.2°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#BA49FF
RGBrgb(186, 73, 255)
HSLhsl(277, 100%, 64%)
HSVhsv(277, 71%, 100%)
CMYKcmyk(27.1%, 71.4%, 0%, 0%)
CIE-LABlab(54.48, 73.03, -70.78)
CIE-LCHlch(54.48, 101.70, 315.89°)
OKLaboklab(64.01% 0.1636 -0.2006)
OKLCHoklch(64.01% 0.259 309.2)
XYZxyz(40.6786, 22.4250, 96.7739)
Luminance0.2242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA49FF #8EFF49
analogous
#5F49FF #BA49FF #FF49E9
triadic
#BA49FF #FFBA49 #49FFBA
tetradic
#BA49FF #FF5F49 #8EFF49 #49E9FF
square
#BA49FF #FF5F49 #8EFF49 #49E9FF
split-complementary
#BA49FF #E9FF49 #49FF5F
monochromatic
#8000CE #A30CFF #BA49FF #D186FF #E8C3FF

Accessibility & contrast

On white

3.83
#BA49FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#BA49FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA49FF
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA49FF#FFFFFF#000000##000000
##BA49FF1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#1984FB
Tritanopia (blue-blind)
#B073A0
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ba49ff;
/* rgb */ color: rgb(186, 73, 255);
/* oklch */ color: oklch(64.0% 0.259 309.2);
Tailwind
colors: {
  custom: {
    50: '#d485ff',
    500: '#ba49ff',
    950: '#000000',
  },
}
SCSS
$custom: #ba49ff;
$custom-light: #d485ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba49ff",
  "rgb": {
    "r": 186,
    "g": 73,
    "b": 255
  },
  "hsl": {
    "h": 277.253,
    "s": 100,
    "l": 64.314
  },
  "oklch": {
    "l": 0.64007,
    "c": 0.25885,
    "h": 309.2
  },
  "luminance": 0.22424
}

Semantic roles & 50–950 ramp

primary
#BA49FF
secondary
#CAF1B2
accent
#E60057
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C18
muted
#837D86

Preview Lab

Preview with #BA49FF

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

Preview Lab → · Contrast checker → · Palette generator →

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