#BA58CA#BA58CA

#BA58CA is a light, vivid purple. Relative luminance 0.217; OKLCH L 62.4% C 0.190 H 321.8°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#BA58CA
RGBrgb(186, 88, 202)
HSLhsl(292, 52%, 57%)
HSVhsv(292, 56%, 79%)
CMYKcmyk(7.9%, 56.4%, 0%, 20.8%)
CIE-LABlab(53.69, 55.93, -42.19)
CIE-LCHlch(53.69, 70.06, 322.97°)
OKLaboklab(62.44% 0.149 -0.1171)
OKLCHoklch(62.44% 0.19 321.8)
XYZxyz(34.3989, 21.6845, 58.2392)
Luminance0.2168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA58CA #68CA58
analogous
#8158CA #BA58CA #CA58A1
triadic
#BA58CA #CABA58 #58CABA
tetradic
#BA58CA #CA8158 #68CA58 #58A1CA
square
#BA58CA #CA8158 #68CA58 #58A1CA
split-complementary
#BA58CA #A1CA58 #58CA81
monochromatic
#73287F #9D37AE #BA58CA #CD86D9 #E0B5E7

Accessibility & contrast

On white

3.94
#BA58CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#BA58CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA58CA
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA58CA#FFFFFF#000000##000000
##BA58CA1.003.945.345.34
#FFFFFF3.941.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4379CE
Deuteranopia (green-blind)
#6584C7
Tritanopia (blue-blind)
#BC6889
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ba58ca;
/* rgb */ color: rgb(186, 88, 202);
/* oklch */ color: oklch(62.4% 0.190 321.8);
Tailwind
colors: {
  custom: {
    50: '#d18cda',
    500: '#ba58ca',
    950: '#000000',
  },
}
SCSS
$custom: #ba58ca;
$custom-light: #d18cda;
$custom-dark: #000000;
JSON
{
  "hex": "#ba58ca",
  "rgb": {
    "r": 186,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 291.579,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.6244,
    "c": 0.1895,
    "h": 321.8
  },
  "luminance": 0.21683
}

Semantic roles & 50–950 ramp

primary
#BA58CA
secondary
#AED6A8
accent
#DB4D61
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA58CA

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

Preview Lab → · Contrast checker → · Palette generator →

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