#BA63F4#BA63F4

#BA63F4 is a light, highly saturated violet. Relative luminance 0.259; OKLCH L 66.3% C 0.215 H 309.4°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#BA63F4
RGBrgb(186, 99, 244)
HSLhsl(276, 87%, 67%)
HSVhsv(276, 59%, 96%)
CMYKcmyk(23.8%, 59.4%, 0%, 4.3%)
CIE-LABlab(57.94, 59.21, -59.10)
CIE-LCHlch(57.94, 83.66, 315.05°)
OKLaboklab(66.28% 0.1368 -0.1665)
OKLCHoklch(66.28% 0.215 309.4)
XYZxyz(41.0375, 25.8952, 88.4068)
Luminance0.2589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA63F4 #9DF463
analogous
#7263F4 #BA63F4 #F463E5
triadic
#BA63F4 #F4BA63 #63F4BA
tetradic
#BA63F4 #F47263 #9DF463 #63E5F4
square
#BA63F4 #F47263 #9DF463 #63E5F4
split-complementary
#BA63F4 #E5F463 #63F472
monochromatic
#810FCE #A12AF0 #BA63F4 #D39CF8 #EDD5FC

Accessibility & contrast

On white

3.40
#BA63F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.18
#BA63F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA63F4
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA63F4#FFFFFF#000000##000000
##BA63F41.003.406.186.18
#FFFFFF3.401.0021.0021.00
#0000006.1821.001.001.00
##0000006.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2887F9
Deuteranopia (green-blind)
#518DF1
Tritanopia (blue-blind)
#B27FA2
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba63f4;
/* rgb */ color: rgb(186, 99, 244);
/* oklch */ color: oklch(66.3% 0.215 309.4);
Tailwind
colors: {
  custom: {
    50: '#d293f8',
    500: '#ba63f4',
    950: '#000000',
  },
}
SCSS
$custom: #ba63f4;
$custom-light: #d293f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba63f4",
  "rgb": {
    "r": 186,
    "g": 99,
    "b": 244
  },
  "hsl": {
    "h": 276,
    "s": 86.826,
    "l": 67.255
  },
  "oklch": {
    "l": 0.66276,
    "c": 0.21544,
    "h": 309.4
  },
  "luminance": 0.25894
}

Semantic roles & 50–950 ramp

primary
#BA63F4
secondary
#D5F0C3
accent
#E3025C
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA63F4

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

Preview Lab → · Contrast checker → · Palette generator →

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