#BA60ED#BA60ED

#BA60ED is a light, highly saturated violet. Relative luminance 0.249; OKLCH L 65.5% C 0.212 H 311.4°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#BA60ED
RGBrgb(186, 96, 237)
HSLhsl(278, 80%, 65%)
HSVhsv(278, 59%, 93%)
CMYKcmyk(21.5%, 59.5%, 0%, 7.1%)
CIE-LABlab(57.00, 59.16, -56.71)
CIE-LCHlch(57.00, 81.95, 316.21°)
OKLaboklab(65.46% 0.1404 -0.1595)
OKLCHoklch(65.46% 0.212 311.4)
XYZxyz(39.7158, 24.9202, 82.8222)
Luminance0.2492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA60ED #93ED60
analogous
#7360ED #BA60ED #ED60D9
triadic
#BA60ED #EDBA60 #60EDBA
tetradic
#BA60ED #ED7360 #93ED60 #60D9ED
square
#BA60ED #ED7360 #93ED60 #60D9ED
split-complementary
#BA60ED #D9ED60 #60ED73
monochromatic
#8115BD #A229E7 #BA60ED #D297F3 #EACEF9

Accessibility & contrast

On white

3.51
#BA60ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#BA60ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA60ED
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA60ED#FFFFFF#000000##000000
##BA60ED1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B84F1
Deuteranopia (green-blind)
#548BEA
Tritanopia (blue-blind)
#B47A9E
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ba60ed;
/* rgb */ color: rgb(186, 96, 237);
/* oklch */ color: oklch(65.5% 0.212 311.4);
Tailwind
colors: {
  custom: {
    50: '#d291f3',
    500: '#ba60ed',
    950: '#000000',
  },
}
SCSS
$custom: #ba60ed;
$custom-light: #d291f3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba60ed",
  "rgb": {
    "r": 186,
    "g": 96,
    "b": 237
  },
  "hsl": {
    "h": 278.298,
    "s": 79.661,
    "l": 65.294
  },
  "oklch": {
    "l": 0.65463,
    "c": 0.21243,
    "h": 311.4
  },
  "luminance": 0.24919
}

Semantic roles & 50–950 ramp

primary
#BA60ED
secondary
#CEECBD
accent
#DC0A56
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA60ED

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

Preview Lab → · Contrast checker → · Palette generator →

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