#BA60EE#BA60EE

#BA60EE is a light, highly saturated violet. Relative luminance 0.250; OKLCH L 65.5% C 0.213 H 311.1°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#BA60EE
RGBrgb(186, 96, 238)
HSLhsl(278, 81%, 65%)
HSVhsv(278, 60%, 93%)
CMYKcmyk(21.8%, 59.7%, 0%, 6.7%)
CIE-LABlab(57.05, 59.37, -57.18)
CIE-LCHlch(57.05, 82.43, 316.08°)
OKLaboklab(65.52% 0.1404 -0.1608)
OKLCHoklch(65.52% 0.213 311.1)
XYZxyz(39.8623, 24.9788, 83.5938)
Luminance0.2498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA60EE #94EE60
analogous
#7360EE #BA60EE #EE60DB
triadic
#BA60EE #EEBA60 #60EEBA
tetradic
#BA60EE #EE7360 #94EE60 #60DBEE
square
#BA60EE #EE7360 #94EE60 #60DBEE
split-complementary
#BA60EE #DBEE60 #60EE73
monochromatic
#8114BF #A229E8 #BA60EE #D297F4 #EACFFA

Accessibility & contrast

On white

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

On black

6.00
#BA60EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA60EE
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA60EE#FFFFFF#000000##000000
##BA60EE1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A85F2
Deuteranopia (green-blind)
#538BEB
Tritanopia (blue-blind)
#B47B9E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ba60ee;
/* rgb */ color: rgb(186, 96, 238);
/* oklch */ color: oklch(65.5% 0.213 311.1);
Tailwind
colors: {
  custom: {
    50: '#d291f4',
    500: '#ba60ee',
    950: '#000000',
  },
}
SCSS
$custom: #ba60ee;
$custom-light: #d291f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba60ee",
  "rgb": {
    "r": 186,
    "g": 96,
    "b": 238
  },
  "hsl": {
    "h": 278.028,
    "s": 80.682,
    "l": 65.49
  },
  "oklch": {
    "l": 0.65523,
    "c": 0.21346,
    "h": 311.1
  },
  "luminance": 0.24978
}

Semantic roles & 50–950 ramp

primary
#BA60EE
secondary
#CFEDBD
accent
#DD0856
background
#FDF9FF
surface
#FAF1FE
border
#D3CBD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA60EE

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

Preview Lab → · Contrast checker → · Palette generator →

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