#BA63FB#BA63FB

#BA63FB is a light, highly saturated violet. Relative luminance 0.263; OKLCH L 66.7% C 0.223 H 307.8°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#BA63FB
RGBrgb(186, 99, 251)
HSLhsl(274, 95%, 69%)
HSVhsv(274, 61%, 98%)
CMYKcmyk(25.9%, 60.6%, 0%, 1.6%)
CIE-LABlab(58.35, 60.74, -62.33)
CIE-LCHlch(58.35, 87.03, 314.26°)
OKLaboklab(66.71% 0.1366 -0.1759)
OKLCHoklch(66.71% 0.223 307.8)
XYZxyz(42.1206, 26.3284, 94.1110)
Luminance0.2633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA63FB #A4FB63
analogous
#6E63FB #BA63FB #FB63F0
triadic
#BA63FB #FBBA63 #63FBBA
tetradic
#BA63FB #FB6E63 #A4FB63 #63F0FB
square
#BA63FB #FB6E63 #A4FB63 #63F0FB
split-complementary
#BA63FB #F0FB63 #63FB6E
monochromatic
#8106DE #A027F9 #BA63FB #D49FFD #EFDAFE

Accessibility & contrast

On white

3.35
#BA63FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#BA63FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA63FB
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA63FB#FFFFFF#000000##000000
##BA63FB1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1789FF
Deuteranopia (green-blind)
#4A8DF7
Tritanopia (blue-blind)
#B081A6
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ba63fb;
/* rgb */ color: rgb(186, 99, 251);
/* oklch */ color: oklch(66.7% 0.223 307.8);
Tailwind
colors: {
  custom: {
    50: '#d394fd',
    500: '#ba63fb',
    950: '#000000',
  },
}
SCSS
$custom: #ba63fb;
$custom-light: #d394fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba63fb",
  "rgb": {
    "r": 186,
    "g": 99,
    "b": 251
  },
  "hsl": {
    "h": 274.342,
    "s": 95,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66706,
    "c": 0.22275,
    "h": 307.8
  },
  "luminance": 0.26328
}

Semantic roles & 50–950 ramp

primary
#BA63FB
secondary
#DAF4C6
accent
#E60062
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #BA63FB

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

Preview Lab → · Contrast checker → · Palette generator →

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