#BA63F8#BA63F8

#BA63F8 is a light, highly saturated violet. Relative luminance 0.261; OKLCH L 66.5% C 0.220 H 308.5°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#BA63F8
RGBrgb(186, 99, 248)
HSLhsl(275, 91%, 68%)
HSVhsv(275, 60%, 97%)
CMYKcmyk(25%, 60.1%, 0%, 2.7%)
CIE-LABlab(58.17, 60.08, -60.95)
CIE-LCHlch(58.17, 85.58, 314.59°)
OKLaboklab(66.52% 0.1367 -0.1719)
OKLCHoklch(66.52% 0.22 308.5)
XYZxyz(41.6514, 26.1407, 91.6402)
Luminance0.2614 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA63F8 #A1F863
analogous
#7063F8 #BA63F8 #F863EB
triadic
#BA63F8 #F8BA63 #63F8BA
tetradic
#BA63F8 #F87063 #A1F863 #63EBF8
square
#BA63F8 #F87063 #A1F863 #63EBF8
split-complementary
#BA63F8 #EBF863 #63F870
monochromatic
#820AD7 #A028F5 #BA63F8 #D49EFB #EED8FD

Accessibility & contrast

On white

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

On black

6.23
#BA63F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA63F8
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA63F8#FFFFFF#000000##000000
##BA63F81.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba63f8;
/* rgb */ color: rgb(186, 99, 248);
/* oklch */ color: oklch(66.5% 0.220 308.5);
Tailwind
colors: {
  custom: {
    50: '#d394fb',
    500: '#ba63f8',
    950: '#000000',
  },
}
SCSS
$custom: #ba63f8;
$custom-light: #d394fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba63f8",
  "rgb": {
    "r": 186,
    "g": 99,
    "b": 248
  },
  "hsl": {
    "h": 275.034,
    "s": 91.411,
    "l": 68.039
  },
  "oklch": {
    "l": 0.66521,
    "c": 0.21962,
    "h": 308.5
  },
  "luminance": 0.2614
}

Semantic roles & 50–950 ramp

primary
#BA63F8
secondary
#D8F2C5
accent
#E6005F
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #BA63F8

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

Preview Lab → · Contrast checker → · Palette generator →

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