#BA60EA#BA60EA

#BA60EA is a light, highly saturated violet. Relative luminance 0.247; OKLCH L 65.3% C 0.209 H 312.1°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#BA60EA
RGBrgb(186, 96, 234)
HSLhsl(279, 77%, 65%)
HSVhsv(279, 59%, 92%)
CMYKcmyk(20.5%, 59%, 0%, 8.2%)
CIE-LABlab(56.83, 58.53, -55.31)
CIE-LCHlch(56.83, 80.52, 316.62°)
OKLaboklab(65.29% 0.1404 -0.1553)
OKLCHoklch(65.29% 0.209 312.1)
XYZxyz(39.2812, 24.7463, 80.5332)
Luminance0.2475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA60EA #90EA60
analogous
#7560EA #BA60EA #EA60D5
triadic
#BA60EA #EABA60 #60EABA
tetradic
#BA60EA #EA7560 #90EA60 #60D5EA
square
#BA60EA #EA7560 #90EA60 #60D5EA
split-complementary
#BA60EA #D5EA60 #60EA75
monochromatic
#8018B7 #A32AE3 #BA60EA #D196F1 #E9CCF8

Accessibility & contrast

On white

3.53
#BA60EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#BA60EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA60EA
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA60EA#FFFFFF#000000##000000
##BA60EA1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3084EE
Deuteranopia (green-blind)
#568AE7
Tritanopia (blue-blind)
#B5799C
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ba60ea;
/* rgb */ color: rgb(186, 96, 234);
/* oklch */ color: oklch(65.3% 0.209 312.1);
Tailwind
colors: {
  custom: {
    50: '#d291f1',
    500: '#ba60ea',
    950: '#000000',
  },
}
SCSS
$custom: #ba60ea;
$custom-light: #d291f1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba60ea",
  "rgb": {
    "r": 186,
    "g": 96,
    "b": 234
  },
  "hsl": {
    "h": 279.13,
    "s": 76.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.65285,
    "c": 0.20936,
    "h": 312.1
  },
  "luminance": 0.24745
}

Semantic roles & 50–950 ramp

primary
#BA60EA
secondary
#CCEBBB
accent
#D90D54
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA60EA

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

Preview Lab → · Contrast checker → · Palette generator →

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