#BA58D5#BA58D5

#BA58D5 is a light, highly saturated purple. Relative luminance 0.222; OKLCH L 63.0% C 0.200 H 318.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#BA58D5
RGBrgb(186, 88, 213)
HSLhsl(287, 60%, 59%)
HSVhsv(287, 59%, 84%)
CMYKcmyk(12.7%, 58.7%, 0%, 16.5%)
CIE-LABlab(54.26, 58.06, -47.55)
CIE-LCHlch(54.26, 75.05, 320.68°)
OKLaboklab(63.04% 0.1497 -0.1327)
OKLCHoklch(63.04% 0.2 318.4)
XYZxyz(35.7480, 22.2241, 65.3445)
Luminance0.2222 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA58D5 #73D558
analogous
#7C58D5 #BA58D5 #D558B2
triadic
#BA58D5 #D5BA58 #58D5BA
tetradic
#BA58D5 #D57C58 #73D558 #58B2D5
square
#BA58D5 #D57C58 #73D558 #58B2D5
split-complementary
#BA58D5 #B2D558 #58D57C
monochromatic
#78248F #A130C0 #BA58D5 #CE89E1 #E2BAEE

Accessibility & contrast

On white

3.86
#BA58D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#BA58D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA58D5
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA58D5#FFFFFF#000000##000000
##BA58D51.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#397BD9
Deuteranopia (green-blind)
#5E85D2
Tritanopia (blue-blind)
#BA6C8E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ba58d5;
/* rgb */ color: rgb(186, 88, 213);
/* oklch */ color: oklch(63.0% 0.200 318.4);
Tailwind
colors: {
  custom: {
    50: '#d28ce2',
    500: '#ba58d5',
    950: '#000000',
  },
}
SCSS
$custom: #ba58d5;
$custom-light: #d28ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba58d5",
  "rgb": {
    "r": 186,
    "g": 88,
    "b": 213
  },
  "hsl": {
    "h": 287.04,
    "s": 59.809,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63044,
    "c": 0.20001,
    "h": 318.4
  },
  "luminance": 0.22223
}

Semantic roles & 50–950 ramp

primary
#BA58D5
secondary
#B6DDAC
accent
#E34567
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA58D5

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

Preview Lab → · Contrast checker → · Palette generator →

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