#BA63EC#BA63EC

#BA63EC is a light, highly saturated violet. Relative luminance 0.254; OKLCH L 65.8% C 0.207 H 311.3°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#BA63EC
RGBrgb(186, 99, 236)
HSLhsl(278, 78%, 66%)
HSVhsv(278, 58%, 93%)
CMYKcmyk(21.2%, 58.1%, 0%, 7.5%)
CIE-LABlab(57.48, 57.49, -55.38)
CIE-LCHlch(57.48, 79.82, 316.07°)
OKLaboklab(65.8% 0.1367 -0.1556)
OKLCHoklch(65.8% 0.207 311.3)
XYZxyz(39.8491, 25.4198, 82.1479)
Luminance0.2542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA63EC #95EC63
analogous
#7563EC #BA63EC #EC63DA
triadic
#BA63EC #ECBA63 #63ECBA
tetradic
#BA63EC #EC7563 #95EC63 #63DAEC
square
#BA63EC #EC7563 #95EC63 #63DAEC
split-complementary
#BA63EC #DAEC63 #63EC75
monochromatic
#8117BE #A22CE5 #BA63EC #D29AF3 #EAD0F9

Accessibility & contrast

On white

3.45
#BA63EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#BA63EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA63EC
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA63EC#FFFFFF#000000##000000
##BA63EC1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3486F0
Deuteranopia (green-blind)
#588CE9
Tritanopia (blue-blind)
#B47C9E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba63ec;
/* rgb */ color: rgb(186, 99, 236);
/* oklch */ color: oklch(65.8% 0.207 311.3);
Tailwind
colors: {
  custom: {
    50: '#d293f3',
    500: '#ba63ec',
    950: '#000000',
  },
}
SCSS
$custom: #ba63ec;
$custom-light: #d293f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba63ec",
  "rgb": {
    "r": 186,
    "g": 99,
    "b": 236
  },
  "hsl": {
    "h": 278.102,
    "s": 78.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65798,
    "c": 0.2071,
    "h": 311.3
  },
  "luminance": 0.25419
}

Semantic roles & 50–950 ramp

primary
#BA63EC
secondary
#CFECBF
accent
#DB0B57
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA63EC

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

Preview Lab → · Contrast checker → · Palette generator →

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