#BA63F9#BA63F9

#BA63F9 is a light, highly saturated violet. Relative luminance 0.262; OKLCH L 66.6% C 0.221 H 308.3°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#BA63F9
RGBrgb(186, 99, 249)
HSLhsl(275, 93%, 68%)
HSVhsv(275, 60%, 98%)
CMYKcmyk(25.3%, 60.2%, 0%, 2.4%)
CIE-LABlab(58.23, 60.30, -61.41)
CIE-LCHlch(58.23, 86.07, 314.48°)
OKLaboklab(66.58% 0.1367 -0.1732)
OKLCHoklch(66.58% 0.221 308.3)
XYZxyz(41.8070, 26.2030, 92.4594)
Luminance0.2620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA63F9 #A2F963
analogous
#6F63F9 #BA63F9 #F963ED
triadic
#BA63F9 #F9BA63 #63F9BA
tetradic
#BA63F9 #F96F63 #A2F963 #63EDF9
square
#BA63F9 #F96F63 #A2F963 #63EDF9
split-complementary
#BA63F9 #EDF963 #63F96F
monochromatic
#8208D9 #A028F7 #BA63F9 #D49EFB #EED9FE

Accessibility & contrast

On white

3.37
#BA63F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#BA63F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA63F9
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA63F9#FFFFFF#000000##000000
##BA63F91.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D89FE
Deuteranopia (green-blind)
#4C8DF6
Tritanopia (blue-blind)
#B180A5
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ba63f9;
/* rgb */ color: rgb(186, 99, 249);
/* oklch */ color: oklch(66.6% 0.221 308.3);
Tailwind
colors: {
  custom: {
    50: '#d394fc',
    500: '#ba63f9',
    950: '#000000',
  },
}
SCSS
$custom: #ba63f9;
$custom-light: #d394fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba63f9",
  "rgb": {
    "r": 186,
    "g": 99,
    "b": 249
  },
  "hsl": {
    "h": 274.8,
    "s": 92.593,
    "l": 68.235
  },
  "oklch": {
    "l": 0.66582,
    "c": 0.22067,
    "h": 308.3
  },
  "luminance": 0.26202
}

Semantic roles & 50–950 ramp

primary
#BA63F9
secondary
#D8F3C5
accent
#E60060
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #BA63F9

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

Preview Lab → · Contrast checker → · Palette generator →

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