#BA63F6#BA63F6

#BA63F6 is a light, highly saturated violet. Relative luminance 0.260; OKLCH L 66.4% C 0.218 H 308.9°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#BA63F6
RGBrgb(186, 99, 246)
HSLhsl(276, 89%, 68%)
HSVhsv(276, 60%, 96%)
CMYKcmyk(24.4%, 59.8%, 0%, 3.5%)
CIE-LABlab(58.05, 59.65, -60.03)
CIE-LCHlch(58.05, 84.62, 314.82°)
OKLaboklab(66.4% 0.1367 -0.1692)
OKLCHoklch(66.4% 0.218 308.9)
XYZxyz(41.3428, 26.0173, 90.0148)
Luminance0.2602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA63F6 #9FF663
analogous
#7063F6 #BA63F6 #F663E9
triadic
#BA63F6 #F6BA63 #63F6BA
tetradic
#BA63F6 #F67063 #9FF663 #63E9F6
square
#BA63F6 #F67063 #9FF663 #63E9F6
split-complementary
#BA63F6 #E9F663 #63F670
monochromatic
#820CD2 #A029F3 #BA63F6 #D49DF9 #EDD7FD

Accessibility & contrast

On white

3.39
#BA63F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#BA63F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA63F6
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA63F6#FFFFFF#000000##000000
##BA63F61.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2488FB
Deuteranopia (green-blind)
#4F8DF3
Tritanopia (blue-blind)
#B17FA3
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba63f6;
/* rgb */ color: rgb(186, 99, 246);
/* oklch */ color: oklch(66.4% 0.218 308.9);
Tailwind
colors: {
  custom: {
    50: '#d293fa',
    500: '#ba63f6',
    950: '#000000',
  },
}
SCSS
$custom: #ba63f6;
$custom-light: #d293fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba63f6",
  "rgb": {
    "r": 186,
    "g": 99,
    "b": 246
  },
  "hsl": {
    "h": 275.51,
    "s": 89.091,
    "l": 67.647
  },
  "oklch": {
    "l": 0.66398,
    "c": 0.21753,
    "h": 308.9
  },
  "luminance": 0.26017
}

Semantic roles & 50–950 ramp

primary
#BA63F6
secondary
#D6F1C4
accent
#E6005E
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA63F6

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

Preview Lab → · Contrast checker → · Palette generator →

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