#BA60EF#BA60EF

#BA60EF is a light, highly saturated violet. Relative luminance 0.250; OKLCH L 65.6% C 0.214 H 310.9°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#BA60EF
RGBrgb(186, 96, 239)
HSLhsl(278, 82%, 66%)
HSVhsv(278, 60%, 94%)
CMYKcmyk(22.2%, 59.8%, 0%, 6.3%)
CIE-LABlab(57.11, 59.59, -57.64)
CIE-LCHlch(57.11, 82.90, 315.95°)
OKLaboklab(65.58% 0.1404 -0.1622)
OKLCHoklch(65.58% 0.214 310.9)
XYZxyz(40.0097, 25.0377, 84.3697)
Luminance0.2504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA60EF #95EF60
analogous
#7260EF #BA60EF #EF60DD
triadic
#BA60EF #EFBA60 #60EFBA
tetradic
#BA60EF #EF7260 #95EF60 #60DDEF
square
#BA60EF #EF7260 #95EF60 #60DDEF
split-complementary
#BA60EF #DDEF60 #60EF72
monochromatic
#8113C1 #A228E9 #BA60EF #D298F5 #EACFFA

Accessibility & contrast

On white

3.50
#BA60EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#BA60EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA60EF
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA60EF#FFFFFF#000000##000000
##BA60EF1.003.506.016.01
#FFFFFF3.501.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2885F4
Deuteranopia (green-blind)
#528BEC
Tritanopia (blue-blind)
#B37B9F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ba60ef;
/* rgb */ color: rgb(186, 96, 239);
/* oklch */ color: oklch(65.6% 0.214 310.9);
Tailwind
colors: {
  custom: {
    50: '#d291f5',
    500: '#ba60ef',
    950: '#000000',
  },
}
SCSS
$custom: #ba60ef;
$custom-light: #d291f5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba60ef",
  "rgb": {
    "r": 186,
    "g": 96,
    "b": 239
  },
  "hsl": {
    "h": 277.762,
    "s": 81.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65583,
    "c": 0.21449,
    "h": 310.9
  },
  "luminance": 0.25037
}

Semantic roles & 50–950 ramp

primary
#BA60EF
secondary
#CFEDBE
accent
#DE0757
background
#FDF9FF
surface
#FAF1FE
border
#D3CBD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA60EF

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

Preview Lab → · Contrast checker → · Palette generator →

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