#BA63E9#BA63E9

#BA63E9 is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 65.6% C 0.204 H 312.1°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#BA63E9
RGBrgb(186, 99, 233)
HSLhsl(279, 75%, 65%)
HSVhsv(279, 58%, 91%)
CMYKcmyk(20.2%, 57.5%, 0%, 8.6%)
CIE-LABlab(57.32, 56.85, -53.97)
CIE-LCHlch(57.32, 78.39, 316.49°)
OKLaboklab(65.62% 0.1366 -0.1514)
OKLCHoklch(65.62% 0.204 312.1)
XYZxyz(39.4169, 25.2469, 79.8717)
Luminance0.2525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA63E9 #92E963
analogous
#7763E9 #BA63E9 #E963D5
triadic
#BA63E9 #E9BA63 #63E9BA
tetradic
#BA63E9 #E97763 #92E963 #63D5E9
square
#BA63E9 #E97763 #92E963 #63D5E9
split-complementary
#BA63E9 #D5E963 #63E977
monochromatic
#801AB8 #A22DE1 #BA63E9 #D299F1 #E9CEF8

Accessibility & contrast

On white

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

On black

6.05
#BA63E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA63E9
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA63E9#FFFFFF#000000##000000
##BA63E91.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3885ED
Deuteranopia (green-blind)
#5A8BE6
Tritanopia (blue-blind)
#B57B9D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba63e9;
/* rgb */ color: rgb(186, 99, 233);
/* oklch */ color: oklch(65.6% 0.204 312.1);
Tailwind
colors: {
  custom: {
    50: '#d293f1',
    500: '#ba63e9',
    950: '#000000',
  },
}
SCSS
$custom: #ba63e9;
$custom-light: #d293f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba63e9",
  "rgb": {
    "r": 186,
    "g": 99,
    "b": 233
  },
  "hsl": {
    "h": 278.955,
    "s": 75.281,
    "l": 65.098
  },
  "oklch": {
    "l": 0.65622,
    "c": 0.20398,
    "h": 312.1
  },
  "luminance": 0.25246
}

Semantic roles & 50–950 ramp

primary
#BA63E9
secondary
#CDEBBD
accent
#D70E55
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA63E9

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

Preview Lab → · Contrast checker → · Palette generator →

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