#BA63F1#BA63F1

#BA63F1 is a light, highly saturated violet. Relative luminance 0.257; OKLCH L 66.1% C 0.212 H 310.1°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#BA63F1
RGBrgb(186, 99, 241)
HSLhsl(277, 84%, 67%)
HSVhsv(277, 59%, 95%)
CMYKcmyk(22.8%, 58.9%, 0%, 5.5%)
CIE-LABlab(57.77, 58.56, -57.71)
CIE-LCHlch(57.77, 82.22, 315.42°)
OKLaboklab(66.1% 0.1368 -0.1624)
OKLCHoklch(66.1% 0.212 310.1)
XYZxyz(40.5857, 25.7144, 86.0274)
Luminance0.2571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA63F1 #9AF163
analogous
#7363F1 #BA63F1 #F163E1
triadic
#BA63F1 #F1BA63 #63F1BA
tetradic
#BA63F1 #F17363 #9AF163 #63E1F1
square
#BA63F1 #F17363 #9AF163 #63E1F1
split-complementary
#BA63F1 #E1F163 #63F173
monochromatic
#8112C8 #A12BEC #BA63F1 #D39BF6 #ECD3FB

Accessibility & contrast

On white

3.42
#BA63F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#BA63F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA63F1
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA63F1#FFFFFF#000000##000000
##BA63F11.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D87F6
Deuteranopia (green-blind)
#538CEE
Tritanopia (blue-blind)
#B37EA1
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba63f1;
/* rgb */ color: rgb(186, 99, 241);
/* oklch */ color: oklch(66.1% 0.212 310.1);
Tailwind
colors: {
  custom: {
    50: '#d293f6',
    500: '#ba63f1',
    950: '#000000',
  },
}
SCSS
$custom: #ba63f1;
$custom-light: #d293f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba63f1",
  "rgb": {
    "r": 186,
    "g": 99,
    "b": 241
  },
  "hsl": {
    "h": 276.761,
    "s": 83.529,
    "l": 66.667
  },
  "oklch": {
    "l": 0.66095,
    "c": 0.21231,
    "h": 310.1
  },
  "luminance": 0.25714
}

Semantic roles & 50–950 ramp

primary
#BA63F1
secondary
#D3EFC1
accent
#E0065A
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA63F1

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

Preview Lab → · Contrast checker → · Palette generator →

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