#BA63FA#BA63FA

#BA63FA is a light, highly saturated violet. Relative luminance 0.263; OKLCH L 66.6% C 0.222 H 308.1°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#BA63FA
RGBrgb(186, 99, 250)
HSLhsl(275, 94%, 68%)
HSVhsv(275, 60%, 98%)
CMYKcmyk(25.6%, 60.4%, 0%, 2%)
CIE-LABlab(58.29, 60.52, -61.87)
CIE-LCHlch(58.29, 86.55, 314.37°)
OKLaboklab(66.64% 0.1367 -0.1746)
OKLCHoklch(66.64% 0.222 308.1)
XYZxyz(41.9634, 26.2655, 93.2831)
Luminance0.2626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA63FA #A3FA63
analogous
#6E63FA #BA63FA #FA63EE
triadic
#BA63FA #FABA63 #63FABA
tetradic
#BA63FA #FA6E63 #A3FA63 #63EEFA
square
#BA63FA #FA6E63 #A3FA63 #63EEFA
split-complementary
#BA63FA #EEFA63 #63FA6E
monochromatic
#8107DC #A028F8 #BA63FA #D49EFC #EEDAFE

Accessibility & contrast

On white

3.36
#BA63FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#BA63FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA63FA
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA63FA#FFFFFF#000000##000000
##BA63FA1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A89FF
Deuteranopia (green-blind)
#4B8DF6
Tritanopia (blue-blind)
#B081A6
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ba63fa;
/* rgb */ color: rgb(186, 99, 250);
/* oklch */ color: oklch(66.6% 0.222 308.1);
Tailwind
colors: {
  custom: {
    50: '#d394fd',
    500: '#ba63fa',
    950: '#000000',
  },
}
SCSS
$custom: #ba63fa;
$custom-light: #d394fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba63fa",
  "rgb": {
    "r": 186,
    "g": 99,
    "b": 250
  },
  "hsl": {
    "h": 274.57,
    "s": 93.789,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66644,
    "c": 0.22172,
    "h": 308.1
  },
  "luminance": 0.26265
}

Semantic roles & 50–950 ramp

primary
#BA63FA
secondary
#D9F3C6
accent
#E60061
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #BA63FA

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

Preview Lab → · Contrast checker → · Palette generator →

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