#BA63FF#BA63FF

#BA63FF is a light, highly saturated violet. Relative luminance 0.266; OKLCH L 67.0% C 0.227 H 307.0°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#BA63FF
RGBrgb(186, 99, 255)
HSLhsl(273, 100%, 69%)
HSVhsv(273, 61%, 100%)
CMYKcmyk(27.1%, 61.2%, 0%, 0%)
CIE-LABlab(58.59, 61.62, -64.15)
CIE-LCHlch(58.59, 88.95, 313.85°)
OKLaboklab(66.96% 0.1365 -0.1813)
OKLCHoklch(66.96% 0.227 307)
XYZxyz(42.7578, 26.5833, 97.4669)
Luminance0.2658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA63FF #A8FF63
analogous
#6C63FF #BA63FF #FF63F6
triadic
#BA63FF #FFBA63 #63FFBA
tetradic
#BA63FF #FF6C63 #A8FF63 #63F6FF
square
#BA63FF #FF6C63 #A8FF63 #63F6FF
split-complementary
#BA63FF #F6FF63 #63FF6C
monochromatic
#8100E8 #9F26FF #BA63FF #D5A0FF #F0DDFF

Accessibility & contrast

On white

3.32
#BA63FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#BA63FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA63FF
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA63FF#FFFFFF#000000##000000
##BA63FF1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#048AFF
Deuteranopia (green-blind)
#458EFB
Tritanopia (blue-blind)
#AF83A8
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #ba63ff;
/* rgb */ color: rgb(186, 99, 255);
/* oklch */ color: oklch(67.0% 0.227 307.0);
Tailwind
colors: {
  custom: {
    50: '#d394ff',
    500: '#ba63ff',
    950: '#000000',
  },
}
SCSS
$custom: #ba63ff;
$custom-light: #d394ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba63ff",
  "rgb": {
    "r": 186,
    "g": 99,
    "b": 255
  },
  "hsl": {
    "h": 273.462,
    "s": 100,
    "l": 69.412
  },
  "oklch": {
    "l": 0.66956,
    "c": 0.22694,
    "h": 307
  },
  "luminance": 0.26583
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA63FF

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

Preview Lab → · Contrast checker → · Palette generator →

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