#BA60F0#BA60F0

#BA60F0 is a light, highly saturated violet. Relative luminance 0.251; OKLCH L 65.6% C 0.216 H 310.6°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#BA60F0
RGBrgb(186, 96, 240)
HSLhsl(278, 83%, 66%)
HSVhsv(278, 60%, 94%)
CMYKcmyk(22.5%, 60%, 0%, 5.9%)
CIE-LABlab(57.17, 59.80, -58.11)
CIE-LCHlch(57.17, 83.38, 315.82°)
OKLaboklab(65.64% 0.1404 -0.1635)
OKLCHoklch(65.64% 0.216 310.6)
XYZxyz(40.1578, 25.0970, 85.1499)
Luminance0.2510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA60F0 #96F060
analogous
#7260F0 #BA60F0 #F060DE
triadic
#BA60F0 #F0BA60 #60F0BA
tetradic
#BA60F0 #F07260 #96F060 #60DEF0
square
#BA60F0 #F07260 #96F060 #60DEF0
split-complementary
#BA60F0 #DEF060 #60F072
monochromatic
#8112C3 #A228EB #BA60F0 #D298F5 #EBD0FB

Accessibility & contrast

On white

3.49
#BA60F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#BA60F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA60F0
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA60F0#FFFFFF#000000##000000
##BA60F01.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2685F5
Deuteranopia (green-blind)
#518BED
Tritanopia (blue-blind)
#B37B9F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ba60f0;
/* rgb */ color: rgb(186, 96, 240);
/* oklch */ color: oklch(65.6% 0.216 310.6);
Tailwind
colors: {
  custom: {
    50: '#d292f6',
    500: '#ba60f0',
    950: '#000000',
  },
}
SCSS
$custom: #ba60f0;
$custom-light: #d292f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba60f0",
  "rgb": {
    "r": 186,
    "g": 96,
    "b": 240
  },
  "hsl": {
    "h": 277.5,
    "s": 82.759,
    "l": 65.882
  },
  "oklch": {
    "l": 0.65644,
    "c": 0.21552,
    "h": 310.6
  },
  "luminance": 0.25096
}

Semantic roles & 50–950 ramp

primary
#BA60F0
secondary
#D0EEBE
accent
#DF0658
background
#FDF9FF
surface
#FAF1FE
border
#D3CBD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA60F0

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

Preview Lab → · Contrast checker → · Palette generator →

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