#BA60FA#BA60FA

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

Color values

HEX#BA60FA
RGBrgb(186, 96, 250)
HSLhsl(275, 94%, 68%)
HSVhsv(275, 62%, 98%)
CMYKcmyk(25.6%, 61.6%, 0%, 2%)
CIE-LABlab(57.76, 61.96, -62.72)
CIE-LCHlch(57.76, 88.16, 314.65°)
OKLaboklab(66.26% 0.1401 -0.1771)
OKLCHoklch(66.26% 0.226 308.4)
XYZxyz(41.6844, 25.7076, 93.1901)
Luminance0.2571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA60FA #A0FA60
analogous
#6D60FA #BA60FA #FA60ED
triadic
#BA60FA #FABA60 #60FABA
tetradic
#BA60FA #FA6D60 #A0FA60 #60EDFA
square
#BA60FA #FA6D60 #A0FA60 #60EDFA
split-complementary
#BA60FA #EDFA60 #60FA6D
monochromatic
#8207D9 #A025F8 #BA60FA #D49BFC #EDD7FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA60FA#FFFFFF#000000##000000
##BA60FA1.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)
#0787FF
Deuteranopia (green-blind)
#478CF6
Tritanopia (blue-blind)
#B07FA4
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba60fa;
/* rgb */ color: rgb(186, 96, 250);
/* oklch */ color: oklch(66.3% 0.226 308.4);
Tailwind
colors: {
  custom: {
    50: '#d392fd',
    500: '#ba60fa',
    950: '#000000',
  },
}
SCSS
$custom: #ba60fa;
$custom-light: #d392fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba60fa",
  "rgb": {
    "r": 186,
    "g": 96,
    "b": 250
  },
  "hsl": {
    "h": 275.065,
    "s": 93.902,
    "l": 67.843
  },
  "oklch": {
    "l": 0.6626,
    "c": 0.2258,
    "h": 308.4
  },
  "luminance": 0.25707
}

Semantic roles & 50–950 ramp

primary
#BA60FA
secondary
#D7F3C3
accent
#E6005F
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #BA60FA

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

Preview Lab → · Contrast checker → · Palette generator →

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