#BA63FE#BA63FE

#BA63FE is a light, highly saturated violet. Relative luminance 0.265; OKLCH L 66.9% C 0.226 H 307.2°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#BA63FE
RGBrgb(186, 99, 254)
HSLhsl(274, 99%, 69%)
HSVhsv(274, 61%, 100%)
CMYKcmyk(26.8%, 61%, 0%, 0.4%)
CIE-LABlab(58.53, 61.40, -63.70)
CIE-LCHlch(58.53, 88.47, 313.95°)
OKLaboklab(66.89% 0.1365 -0.1799)
OKLCHoklch(66.89% 0.226 307.2)
XYZxyz(42.5972, 26.5190, 96.6214)
Luminance0.2652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA63FE #A7FE63
analogous
#6D63FE #BA63FE #FE63F5
triadic
#BA63FE #FEBA63 #63FEBA
tetradic
#BA63FE #FE6D63 #A7FE63 #63F5FE
square
#BA63FE #FE6D63 #A7FE63 #63F5FE
split-complementary
#BA63FE #F5FE63 #63FE6D
monochromatic
#8101E5 #9F26FE #BA63FE #D5A0FE #F0DDFF

Accessibility & contrast

On white

3.33
#BA63FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#BA63FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA63FE
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA63FE#FFFFFF#000000##000000
##BA63FE1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A8AFF
Deuteranopia (green-blind)
#468EFA
Tritanopia (blue-blind)
#AF82A8
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ba63fe;
/* rgb */ color: rgb(186, 99, 254);
/* oklch */ color: oklch(66.9% 0.226 307.2);
Tailwind
colors: {
  custom: {
    50: '#d394ff',
    500: '#ba63fe',
    950: '#000000',
  },
}
SCSS
$custom: #ba63fe;
$custom-light: #d394ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba63fe",
  "rgb": {
    "r": 186,
    "g": 99,
    "b": 254
  },
  "hsl": {
    "h": 273.677,
    "s": 98.726,
    "l": 69.216
  },
  "oklch": {
    "l": 0.66893,
    "c": 0.22589,
    "h": 307.2
  },
  "luminance": 0.26519
}

Semantic roles & 50–950 ramp

primary
#BA63FE
secondary
#DCF5C8
accent
#E60065
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #BA63FE

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

Preview Lab → · Contrast checker → · Palette generator →

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