#BA60E2#BA60E2

#BA60E2 is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 64.8% C 0.201 H 314.2°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#BA60E2
RGBrgb(186, 96, 226)
HSLhsl(282, 69%, 63%)
HSVhsv(282, 58%, 89%)
CMYKcmyk(17.7%, 57.5%, 0%, 11.4%)
CIE-LABlab(56.38, 56.85, -51.53)
CIE-LCHlch(56.38, 76.73, 317.81°)
OKLaboklab(64.82% 0.1402 -0.1443)
OKLCHoklch(64.82% 0.201 314.2)
XYZxyz(38.1578, 24.2970, 74.6165)
Luminance0.2430 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA60E2 #88E260
analogous
#7960E2 #BA60E2 #E260C9
triadic
#BA60E2 #E2BA60 #60E2BA
tetradic
#BA60E2 #E27960 #88E260 #60C9E2
square
#BA60E2 #E27960 #88E260 #60C9E2
split-complementary
#BA60E2 #C9E260 #60E279
monochromatic
#7E1FA9 #A42CD9 #BA60E2 #D094EB #E7C8F5

Accessibility & contrast

On white

3.58
#BA60E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#BA60E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA60E2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA60E2#FFFFFF#000000##000000
##BA60E21.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A82E6
Deuteranopia (green-blind)
#5C8ADF
Tritanopia (blue-blind)
#B77698
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #ba60e2;
/* rgb */ color: rgb(186, 96, 226);
/* oklch */ color: oklch(64.8% 0.201 314.2);
Tailwind
colors: {
  custom: {
    50: '#d291ec',
    500: '#ba60e2',
    950: '#000000',
  },
}
SCSS
$custom: #ba60e2;
$custom-light: #d291ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ba60e2",
  "rgb": {
    "r": 186,
    "g": 96,
    "b": 226
  },
  "hsl": {
    "h": 281.538,
    "s": 69.149,
    "l": 63.137
  },
  "oklch": {
    "l": 0.64818,
    "c": 0.20118,
    "h": 314.2
  },
  "luminance": 0.24296
}

Semantic roles & 50–950 ramp

primary
#BA60E2
secondary
#C6E6B8
accent
#D1144E
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA60E2

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

Preview Lab → · Contrast checker → · Palette generator →

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