#BA60F1#BA60F1

#BA60F1 is a light, highly saturated violet. Relative luminance 0.252; OKLCH L 65.7% C 0.217 H 310.4°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#BA60F1
RGBrgb(186, 96, 241)
HSLhsl(277, 84%, 66%)
HSVhsv(277, 60%, 95%)
CMYKcmyk(22.8%, 60.2%, 0%, 5.5%)
CIE-LABlab(57.23, 60.01, -58.57)
CIE-LCHlch(57.23, 83.86, 315.70°)
OKLaboklab(65.71% 0.1403 -0.1649)
OKLCHoklch(65.71% 0.217 310.4)
XYZxyz(40.3067, 25.1565, 85.9344)
Luminance0.2516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA60F1 #97F160
analogous
#7160F1 #BA60F1 #F160E0
triadic
#BA60F1 #F1BA60 #60F1BA
tetradic
#BA60F1 #F17160 #97F160 #60E0F1
square
#BA60F1 #F17160 #97F160 #60E0F1
split-complementary
#BA60F1 #E0F160 #60F171
monochromatic
#8111C5 #A228EC #BA60F1 #D298F6 #EBD0FB

Accessibility & contrast

On white

3.48
#BA60F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#BA60F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA60F1
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA60F1#FFFFFF#000000##000000
##BA60F11.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2485F6
Deuteranopia (green-blind)
#508BEE
Tritanopia (blue-blind)
#B37CA0
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ba60f1;
/* rgb */ color: rgb(186, 96, 241);
/* oklch */ color: oklch(65.7% 0.217 310.4);
Tailwind
colors: {
  custom: {
    50: '#d292f6',
    500: '#ba60f1',
    950: '#000000',
  },
}
SCSS
$custom: #ba60f1;
$custom-light: #d292f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba60f1",
  "rgb": {
    "r": 186,
    "g": 96,
    "b": 241
  },
  "hsl": {
    "h": 277.241,
    "s": 83.815,
    "l": 66.078
  },
  "oklch": {
    "l": 0.65705,
    "c": 0.21654,
    "h": 310.4
  },
  "luminance": 0.25156
}

Semantic roles & 50–950 ramp

primary
#BA60F1
secondary
#D1EEBF
accent
#E00558
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA60F1

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

Preview Lab → · Contrast checker → · Palette generator →

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