#BA63F5#BA63F5

#BA63F5 is a light, highly saturated violet. Relative luminance 0.260; OKLCH L 66.3% C 0.216 H 309.2°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#BA63F5
RGBrgb(186, 99, 245)
HSLhsl(276, 88%, 67%)
HSVhsv(276, 60%, 96%)
CMYKcmyk(24.1%, 59.6%, 0%, 3.9%)
CIE-LABlab(58.00, 59.43, -59.57)
CIE-LCHlch(58.00, 84.14, 314.93°)
OKLaboklab(66.34% 0.1367 -0.1678)
OKLCHoklch(66.34% 0.216 309.2)
XYZxyz(41.1897, 25.9561, 89.2087)
Luminance0.2596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA63F5 #9EF563
analogous
#7163F5 #BA63F5 #F563E7
triadic
#BA63F5 #F5BA63 #63F5BA
tetradic
#BA63F5 #F57163 #9EF563 #63E7F5
square
#BA63F5 #F57163 #9EF563 #63E7F5
split-complementary
#BA63F5 #E7F563 #63F571
monochromatic
#810DD0 #A129F1 #BA63F5 #D39DF9 #EDD6FC

Accessibility & contrast

On white

3.39
#BA63F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#BA63F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA63F5
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA63F5#FFFFFF#000000##000000
##BA63F51.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2688FA
Deuteranopia (green-blind)
#508DF2
Tritanopia (blue-blind)
#B27FA3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba63f5;
/* rgb */ color: rgb(186, 99, 245);
/* oklch */ color: oklch(66.3% 0.216 309.2);
Tailwind
colors: {
  custom: {
    50: '#d293f9',
    500: '#ba63f5',
    950: '#000000',
  },
}
SCSS
$custom: #ba63f5;
$custom-light: #d293f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba63f5",
  "rgb": {
    "r": 186,
    "g": 99,
    "b": 245
  },
  "hsl": {
    "h": 275.753,
    "s": 87.952,
    "l": 67.451
  },
  "oklch": {
    "l": 0.66337,
    "c": 0.21649,
    "h": 309.2
  },
  "luminance": 0.25955
}

Semantic roles & 50–950 ramp

primary
#BA63F5
secondary
#D6F1C3
accent
#E5015D
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA63F5

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

Preview Lab → · Contrast checker → · Palette generator →

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