#BA63EA#BA63EA

#BA63EA is a light, highly saturated violet. Relative luminance 0.253; OKLCH L 65.7% C 0.205 H 311.8°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#BA63EA
RGBrgb(186, 99, 234)
HSLhsl(279, 76%, 65%)
HSVhsv(279, 58%, 92%)
CMYKcmyk(20.5%, 57.7%, 0%, 8.2%)
CIE-LABlab(57.37, 57.06, -54.44)
CIE-LCHlch(57.37, 78.87, 316.35°)
OKLaboklab(65.68% 0.1367 -0.1528)
OKLCHoklch(65.68% 0.205 311.8)
XYZxyz(39.5602, 25.3042, 80.6262)
Luminance0.2530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA63EA #93EA63
analogous
#7763EA #BA63EA #EA63D6
triadic
#BA63EA #EABA63 #63EABA
tetradic
#BA63EA #EA7763 #93EA63 #63D6EA
square
#BA63EA #EA7763 #93EA63 #63D6EA
split-complementary
#BA63EA #D6EA63 #63EA77
monochromatic
#8119BA #A22DE3 #BA63EA #D299F1 #EACFF9

Accessibility & contrast

On white

3.47
#BA63EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#BA63EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA63EA
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA63EA#FFFFFF#000000##000000
##BA63EA1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3785EE
Deuteranopia (green-blind)
#598CE7
Tritanopia (blue-blind)
#B57B9D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba63ea;
/* rgb */ color: rgb(186, 99, 234);
/* oklch */ color: oklch(65.7% 0.205 311.8);
Tailwind
colors: {
  custom: {
    50: '#d293f1',
    500: '#ba63ea',
    950: '#000000',
  },
}
SCSS
$custom: #ba63ea;
$custom-light: #d293f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba63ea",
  "rgb": {
    "r": 186,
    "g": 99,
    "b": 234
  },
  "hsl": {
    "h": 278.667,
    "s": 76.271,
    "l": 65.294
  },
  "oklch": {
    "l": 0.65681,
    "c": 0.20503,
    "h": 311.8
  },
  "luminance": 0.25303
}

Semantic roles & 50–950 ramp

primary
#BA63EA
secondary
#CEEBBE
accent
#D80D55
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA63EA

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

Preview Lab → · Contrast checker → · Palette generator →

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