#BA60F5#BA60F5

#BA60F5 is a light, highly saturated violet. Relative luminance 0.254; OKLCH L 65.9% C 0.221 H 309.5°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#BA60F5
RGBrgb(186, 96, 245)
HSLhsl(276, 88%, 67%)
HSVhsv(276, 61%, 96%)
CMYKcmyk(24.1%, 60.8%, 0%, 3.9%)
CIE-LABlab(57.46, 60.87, -60.42)
CIE-LCHlch(57.46, 85.77, 315.21°)
OKLaboklab(65.95% 0.1403 -0.1703)
OKLCHoklch(65.95% 0.221 309.5)
XYZxyz(40.9108, 25.3982, 89.1157)
Luminance0.2540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA60F5 #9BF560
analogous
#7060F5 #BA60F5 #F560E5
triadic
#BA60F5 #F5BA60 #60F5BA
tetradic
#BA60F5 #F57060 #9BF560 #60E5F5
square
#BA60F5 #F57060 #9BF560 #60E5F5
split-complementary
#BA60F5 #E5F560 #60F570
monochromatic
#810DCE #A126F1 #BA60F5 #D39AF9 #ECD3FC

Accessibility & contrast

On white

3.45
#BA60F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#BA60F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA60F5
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA60F5#FFFFFF#000000##000000
##BA60F51.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B86FA
Deuteranopia (green-blind)
#4C8BF2
Tritanopia (blue-blind)
#B27DA2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba60f5;
/* rgb */ color: rgb(186, 96, 245);
/* oklch */ color: oklch(65.9% 0.221 309.5);
Tailwind
colors: {
  custom: {
    50: '#d392f9',
    500: '#ba60f5',
    950: '#000000',
  },
}
SCSS
$custom: #ba60f5;
$custom-light: #d392f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba60f5",
  "rgb": {
    "r": 186,
    "g": 96,
    "b": 245
  },
  "hsl": {
    "h": 276.242,
    "s": 88.166,
    "l": 66.863
  },
  "oklch": {
    "l": 0.65949,
    "c": 0.22065,
    "h": 309.5
  },
  "luminance": 0.25397
}

Semantic roles & 50–950 ramp

primary
#BA60F5
secondary
#D3F0C1
accent
#E5015B
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #BA60F5

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

Preview Lab → · Contrast checker → · Palette generator →

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