#BA63F3#BA63F3

#BA63F3 is a light, highly saturated violet. Relative luminance 0.258; OKLCH L 66.2% C 0.214 H 309.6°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#BA63F3
RGBrgb(186, 99, 243)
HSLhsl(276, 86%, 67%)
HSVhsv(276, 59%, 95%)
CMYKcmyk(23.5%, 59.3%, 0%, 4.7%)
CIE-LABlab(57.88, 58.99, -58.64)
CIE-LCHlch(57.88, 83.18, 315.17°)
OKLaboklab(66.22% 0.1368 -0.1651)
OKLCHoklch(66.22% 0.214 309.6)
XYZxyz(40.8861, 25.8346, 87.6094)
Luminance0.2583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA63F3 #9CF363
analogous
#7263F3 #BA63F3 #F363E4
triadic
#BA63F3 #F3BA63 #63F3BA
tetradic
#BA63F3 #F37263 #9CF363 #63E4F3
square
#BA63F3 #F37263 #9CF363 #63E4F3
split-complementary
#BA63F3 #E4F363 #63F372
monochromatic
#8110CC #A12AEF #BA63F3 #D39CF7 #ECD5FC

Accessibility & contrast

On white

3.41
#BA63F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#BA63F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA63F3
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA63F3#FFFFFF#000000##000000
##BA63F31.003.416.176.17
#FFFFFF3.411.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2987F8
Deuteranopia (green-blind)
#528CF0
Tritanopia (blue-blind)
#B27EA2
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba63f3;
/* rgb */ color: rgb(186, 99, 243);
/* oklch */ color: oklch(66.2% 0.214 309.6);
Tailwind
colors: {
  custom: {
    50: '#d293f8',
    500: '#ba63f3',
    950: '#000000',
  },
}
SCSS
$custom: #ba63f3;
$custom-light: #d293f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba63f3",
  "rgb": {
    "r": 186,
    "g": 99,
    "b": 243
  },
  "hsl": {
    "h": 276.25,
    "s": 85.714,
    "l": 67.059
  },
  "oklch": {
    "l": 0.66216,
    "c": 0.2144,
    "h": 309.6
  },
  "luminance": 0.25834
}

Semantic roles & 50–950 ramp

primary
#BA63F3
secondary
#D4F0C2
accent
#E2035C
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA63F3

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

Preview Lab → · Contrast checker → · Palette generator →

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