#BA53E6#BA53E6

#BA53E6 is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.4% C 0.223 H 314.2°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#BA53E6
RGBrgb(186, 83, 230)
HSLhsl(282, 75%, 61%)
HSVhsv(282, 64%, 90%)
CMYKcmyk(19.1%, 63.9%, 0%, 9.8%)
CIE-LABlab(54.39, 63.73, -56.97)
CIE-LCHlch(54.39, 85.48, 318.21°)
OKLaboklab(63.44% 0.1557 -0.1601)
OKLCHoklch(63.44% 0.223 314.2)
XYZxyz(37.6235, 22.3400, 77.1777)
Luminance0.2234 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA53E6 #7FE653
analogous
#7153E6 #BA53E6 #E653C9
triadic
#BA53E6 #E6BA53 #53E6BA
tetradic
#BA53E6 #E67153 #7FE653 #53C9E6
square
#BA53E6 #E67153 #7FE653 #53C9E6
split-complementary
#BA53E6 #C9E653 #53E671
monochromatic
#7C18A6 #A420DC #BA53E6 #CF88EE #E5BEF6

Accessibility & contrast

On white

3.84
#BA53E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#BA53E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA53E6
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA53E6#FFFFFF#000000##000000
##BA53E61.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C7CEA
Deuteranopia (green-blind)
#4D85E3
Tritanopia (blue-blind)
#B66F95
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ba53e6;
/* rgb */ color: rgb(186, 83, 230);
/* oklch */ color: oklch(63.4% 0.223 314.2);
Tailwind
colors: {
  custom: {
    50: '#d28aef',
    500: '#ba53e6',
    950: '#000000',
  },
}
SCSS
$custom: #ba53e6;
$custom-light: #d28aef;
$custom-dark: #000000;
JSON
{
  "hex": "#ba53e6",
  "rgb": {
    "r": 186,
    "g": 83,
    "b": 230
  },
  "hsl": {
    "h": 282.041,
    "s": 74.619,
    "l": 61.373
  },
  "oklch": {
    "l": 0.63441,
    "c": 0.22332,
    "h": 314.2
  },
  "luminance": 0.22339
}

Semantic roles & 50–950 ramp

primary
#BA53E6
secondary
#BFE6AF
accent
#D70F4B
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BA53E6

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

Preview Lab → · Contrast checker → · Palette generator →

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