#BA60FB#BA60FB

#BA60FB is a light, highly saturated violet. Relative luminance 0.258; OKLCH L 66.3% C 0.227 H 308.1°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#BA60FB
RGBrgb(186, 96, 251)
HSLhsl(275, 95%, 68%)
HSVhsv(275, 62%, 98%)
CMYKcmyk(25.9%, 61.8%, 0%, 1.6%)
CIE-LABlab(57.82, 62.18, -63.18)
CIE-LCHlch(57.82, 88.64, 314.54°)
OKLaboklab(66.32% 0.1401 -0.1784)
OKLCHoklch(66.32% 0.227 308.1)
XYZxyz(41.8416, 25.7705, 94.0181)
Luminance0.2577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA60FB #A1FB60
analogous
#6C60FB #BA60FB #FB60EE
triadic
#BA60FB #FBBA60 #60FBBA
tetradic
#BA60FB #FB6C60 #A1FB60 #60EEFB
square
#BA60FB #FB6C60 #A1FB60 #60EEFB
split-complementary
#BA60FB #EEFB60 #60FB6C
monochromatic
#8206DB #A024F9 #BA60FB #D49CFD #EED7FE

Accessibility & contrast

On white

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

On black

6.15
#BA60FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA60FB
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA60FB#FFFFFF#000000##000000
##BA60FB1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0187FF
Deuteranopia (green-blind)
#468CF7
Tritanopia (blue-blind)
#B07FA5
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba60fb;
/* rgb */ color: rgb(186, 96, 251);
/* oklch */ color: oklch(66.3% 0.227 308.1);
Tailwind
colors: {
  custom: {
    50: '#d392fd',
    500: '#ba60fb',
    950: '#000000',
  },
}
SCSS
$custom: #ba60fb;
$custom-light: #d392fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba60fb",
  "rgb": {
    "r": 186,
    "g": 96,
    "b": 251
  },
  "hsl": {
    "h": 274.839,
    "s": 95.092,
    "l": 68.039
  },
  "oklch": {
    "l": 0.66323,
    "c": 0.22684,
    "h": 308.1
  },
  "luminance": 0.2577
}

Semantic roles & 50–950 ramp

primary
#BA60FB
secondary
#D8F3C4
accent
#E60060
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #BA60FB

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

Preview Lab → · Contrast checker → · Palette generator →

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