#BA63F7#BA63F7

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

Color values

HEX#BA63F7
RGBrgb(186, 99, 247)
HSLhsl(275, 90%, 68%)
HSVhsv(275, 60%, 97%)
CMYKcmyk(24.7%, 59.9%, 0%, 3.1%)
CIE-LABlab(58.11, 59.86, -60.49)
CIE-LCHlch(58.11, 85.10, 314.70°)
OKLaboklab(66.46% 0.1367 -0.1705)
OKLCHoklch(66.46% 0.219 308.7)
XYZxyz(41.4967, 26.0788, 90.8253)
Luminance0.2608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA63F7 #A0F763
analogous
#7063F7 #BA63F7 #F763EA
triadic
#BA63F7 #F7BA63 #63F7BA
tetradic
#BA63F7 #F77063 #A0F763 #63EAF7
square
#BA63F7 #F77063 #A0F763 #63EAF7
split-complementary
#BA63F7 #EAF763 #63F770
monochromatic
#820BD5 #A029F4 #BA63F7 #D49DFA #EDD7FD

Accessibility & contrast

On white

3.38
#BA63F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#BA63F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA63F7
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA63F7#FFFFFF#000000##000000
##BA63F71.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2188FC
Deuteranopia (green-blind)
#4E8DF4
Tritanopia (blue-blind)
#B180A4
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ba63f7;
/* rgb */ color: rgb(186, 99, 247);
/* oklch */ color: oklch(66.5% 0.219 308.7);
Tailwind
colors: {
  custom: {
    50: '#d293fa',
    500: '#ba63f7',
    950: '#000000',
  },
}
SCSS
$custom: #ba63f7;
$custom-light: #d293fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba63f7",
  "rgb": {
    "r": 186,
    "g": 99,
    "b": 247
  },
  "hsl": {
    "h": 275.27,
    "s": 90.244,
    "l": 67.843
  },
  "oklch": {
    "l": 0.66459,
    "c": 0.21858,
    "h": 308.7
  },
  "luminance": 0.26078
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA63F7

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

Preview Lab → · Contrast checker → · Palette generator →

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