#BA60E7#BA60E7

#BA60E7 is a light, highly saturated purple. Relative luminance 0.246; OKLCH L 65.1% C 0.206 H 312.9°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#BA60E7
RGBrgb(186, 96, 231)
HSLhsl(280, 74%, 64%)
HSVhsv(280, 58%, 91%)
CMYKcmyk(19.5%, 58.4%, 0%, 9.4%)
CIE-LABlab(56.66, 57.89, -53.90)
CIE-LCHlch(56.66, 79.10, 317.05°)
OKLaboklab(65.11% 0.1403 -0.1512)
OKLCHoklch(65.11% 0.206 312.9)
XYZxyz(38.8539, 24.5754, 78.2826)
Luminance0.2457 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA60E7 #8DE760
analogous
#7760E7 #BA60E7 #E760D1
triadic
#BA60E7 #E7BA60 #60E7BA
tetradic
#BA60E7 #E77760 #8DE760 #60D1E7
square
#BA60E7 #E77760 #8DE760 #60D1E7
split-complementary
#BA60E7 #D1E760 #60E777
monochromatic
#7F1BB2 #A32BDF #BA60E7 #D195EF #E8CAF7

Accessibility & contrast

On white

3.55
#BA60E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#BA60E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA60E7
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA60E7#FFFFFF#000000##000000
##BA60E71.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3483EB
Deuteranopia (green-blind)
#598AE4
Tritanopia (blue-blind)
#B5789B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ba60e7;
/* rgb */ color: rgb(186, 96, 231);
/* oklch */ color: oklch(65.1% 0.206 312.9);
Tailwind
colors: {
  custom: {
    50: '#d291ef',
    500: '#ba60e7',
    950: '#000000',
  },
}
SCSS
$custom: #ba60e7;
$custom-light: #d291ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ba60e7",
  "rgb": {
    "r": 186,
    "g": 96,
    "b": 231
  },
  "hsl": {
    "h": 280,
    "s": 73.77,
    "l": 64.118
  },
  "oklch": {
    "l": 0.65108,
    "c": 0.20629,
    "h": 312.9
  },
  "luminance": 0.24574
}

Semantic roles & 50–950 ramp

primary
#BA60E7
secondary
#CAE9BA
accent
#D61052
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA60E7

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

Preview Lab → · Contrast checker → · Palette generator →

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