#BA63EF#BA63EF

#BA63EF is a light, highly saturated violet. Relative luminance 0.256; OKLCH L 66.0% C 0.210 H 310.6°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#BA63EF
RGBrgb(186, 99, 239)
HSLhsl(277, 81%, 66%)
HSVhsv(277, 59%, 94%)
CMYKcmyk(22.2%, 58.6%, 0%, 6.3%)
CIE-LABlab(57.65, 58.13, -56.78)
CIE-LCHlch(57.65, 81.26, 315.67°)
OKLaboklab(65.98% 0.1367 -0.1597)
OKLCHoklch(65.98% 0.21 310.6)
XYZxyz(40.2886, 25.5956, 84.4627)
Luminance0.2560 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA63EF #98EF63
analogous
#7463EF #BA63EF #EF63DE
triadic
#BA63EF #EFBA63 #63EFBA
tetradic
#BA63EF #EF7463 #98EF63 #63DEEF
square
#BA63EF #EF7463 #98EF63 #63DEEF
split-complementary
#BA63EF #DEEF63 #63EF74
monochromatic
#8114C4 #A12BE9 #BA63EF #D39BF5 #EBD2FA

Accessibility & contrast

On white

3.43
#BA63EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#BA63EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA63EF
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA63EF#FFFFFF#000000##000000
##BA63EF1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3086F3
Deuteranopia (green-blind)
#558CEC
Tritanopia (blue-blind)
#B37DA0
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba63ef;
/* rgb */ color: rgb(186, 99, 239);
/* oklch */ color: oklch(66.0% 0.210 310.6);
Tailwind
colors: {
  custom: {
    50: '#d293f5',
    500: '#ba63ef',
    950: '#000000',
  },
}
SCSS
$custom: #ba63ef;
$custom-light: #d293f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba63ef",
  "rgb": {
    "r": 186,
    "g": 99,
    "b": 239
  },
  "hsl": {
    "h": 277.286,
    "s": 81.395,
    "l": 66.275
  },
  "oklch": {
    "l": 0.65976,
    "c": 0.21023,
    "h": 310.6
  },
  "luminance": 0.25595
}

Semantic roles & 50–950 ramp

primary
#BA63EF
secondary
#D1EEC0
accent
#DE0859
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA63EF

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

Preview Lab → · Contrast checker → · Palette generator →

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