#BA60F6#BA60F6

#BA60F6 is a light, highly saturated violet. Relative luminance 0.255; OKLCH L 66.0% C 0.222 H 309.2°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#BA60F6
RGBrgb(186, 96, 246)
HSLhsl(276, 89%, 67%)
HSVhsv(276, 61%, 96%)
CMYKcmyk(24.4%, 61%, 0%, 3.5%)
CIE-LABlab(57.52, 61.09, -60.88)
CIE-LCHlch(57.52, 86.25, 315.10°)
OKLaboklab(66.01% 0.1403 -0.1717)
OKLCHoklch(66.01% 0.222 309.2)
XYZxyz(41.0639, 25.4594, 89.9218)
Luminance0.2546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA60F6 #9CF660
analogous
#6F60F6 #BA60F6 #F660E7
triadic
#BA60F6 #F6BA60 #60F6BA
tetradic
#BA60F6 #F66F60 #9CF660 #60E7F6
square
#BA60F6 #F66F60 #9CF660 #60E7F6
split-complementary
#BA60F6 #E7F660 #60F66F
monochromatic
#810CD0 #A126F3 #BA60F6 #D39AF9 #ECD4FD

Accessibility & contrast

On white

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

On black

6.09
#BA60F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA60F6
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA60F6#FFFFFF#000000##000000
##BA60F61.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1886FB
Deuteranopia (green-blind)
#4B8BF3
Tritanopia (blue-blind)
#B27DA2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #ba60f6;
/* rgb */ color: rgb(186, 96, 246);
/* oklch */ color: oklch(66.0% 0.222 309.2);
Tailwind
colors: {
  custom: {
    50: '#d392fa',
    500: '#ba60f6',
    950: '#000000',
  },
}
SCSS
$custom: #ba60f6;
$custom-light: #d392fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba60f6",
  "rgb": {
    "r": 186,
    "g": 96,
    "b": 246
  },
  "hsl": {
    "h": 276,
    "s": 89.286,
    "l": 67.059
  },
  "oklch": {
    "l": 0.66011,
    "c": 0.22168,
    "h": 309.2
  },
  "luminance": 0.25459
}

Semantic roles & 50–950 ramp

primary
#BA60F6
secondary
#D4F1C1
accent
#E6005C
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#150D17
muted
#837E85

Preview Lab

Preview with #BA60F6

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

Preview Lab → · Contrast checker → · Palette generator →

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