#BA60E8#BA60E8

#BA60E8 is a light, highly saturated violet. Relative luminance 0.246; OKLCH L 65.2% C 0.207 H 312.6°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#BA60E8
RGBrgb(186, 96, 232)
HSLhsl(280, 75%, 64%)
HSVhsv(280, 59%, 91%)
CMYKcmyk(19.8%, 58.6%, 0%, 9%)
CIE-LABlab(56.72, 58.10, -54.37)
CIE-LCHlch(56.72, 79.57, 316.90°)
OKLaboklab(65.17% 0.1403 -0.1526)
OKLCHoklch(65.17% 0.207 312.6)
XYZxyz(38.9955, 24.6320, 79.0285)
Luminance0.2463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA60E8 #8EE860
analogous
#7660E8 #BA60E8 #E860D2
triadic
#BA60E8 #E8BA60 #60E8BA
tetradic
#BA60E8 #E87660 #8EE860 #60D2E8
square
#BA60E8 #E87660 #8EE860 #60D2E8
split-complementary
#BA60E8 #D2E860 #60E876
monochromatic
#801AB4 #A32BE0 #BA60E8 #D195F0 #E8CBF7

Accessibility & contrast

On white

3.54
#BA60E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#BA60E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA60E8
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA60E8#FFFFFF#000000##000000
##BA60E81.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3383EC
Deuteranopia (green-blind)
#588AE5
Tritanopia (blue-blind)
#B5789B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ba60e8;
/* rgb */ color: rgb(186, 96, 232);
/* oklch */ color: oklch(65.2% 0.207 312.6);
Tailwind
colors: {
  custom: {
    50: '#d291f0',
    500: '#ba60e8',
    950: '#000000',
  },
}
SCSS
$custom: #ba60e8;
$custom-light: #d291f0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba60e8",
  "rgb": {
    "r": 186,
    "g": 96,
    "b": 232
  },
  "hsl": {
    "h": 279.706,
    "s": 74.725,
    "l": 64.314
  },
  "oklch": {
    "l": 0.65167,
    "c": 0.20731,
    "h": 312.6
  },
  "luminance": 0.24631
}

Semantic roles & 50–950 ramp

primary
#BA60E8
secondary
#CAE9BA
accent
#D70F52
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA60E8

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

Preview Lab → · Contrast checker → · Palette generator →

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