#BA58C9#BA58C9

#BA58C9 is a light, vivid purple. Relative luminance 0.216; OKLCH L 62.4% C 0.189 H 322.2°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#BA58C9
RGBrgb(186, 88, 201)
HSLhsl(292, 51%, 57%)
HSVhsv(292, 56%, 79%)
CMYKcmyk(7.5%, 56.2%, 0%, 21.2%)
CIE-LABlab(53.64, 55.74, -41.70)
CIE-LCHlch(53.64, 69.61, 323.20°)
OKLaboklab(62.39% 0.1489 -0.1157)
OKLCHoklch(62.39% 0.189 322.2)
XYZxyz(34.2809, 21.6372, 57.6177)
Luminance0.2164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA58C9 #67C958
analogous
#8258C9 #BA58C9 #C958A0
triadic
#BA58C9 #C9BA58 #58C9BA
tetradic
#BA58C9 #C98258 #67C958 #58A0C9
square
#BA58C9 #C98258 #67C958 #58A0C9
split-complementary
#BA58C9 #A0C958 #58C982
monochromatic
#73297E #9D38AC #BA58C9 #CD86D8 #E0B4E7

Accessibility & contrast

On white

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

On black

5.33
#BA58C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA58C9
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA58C9#FFFFFF#000000##000000
##BA58C91.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4479CD
Deuteranopia (green-blind)
#6584C6
Tritanopia (blue-blind)
#BC6888
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ba58c9;
/* rgb */ color: rgb(186, 88, 201);
/* oklch */ color: oklch(62.4% 0.189 322.2);
Tailwind
colors: {
  custom: {
    50: '#d18cda',
    500: '#ba58c9',
    950: '#000000',
  },
}
SCSS
$custom: #ba58c9;
$custom-light: #d18cda;
$custom-dark: #000000;
JSON
{
  "hex": "#ba58c9",
  "rgb": {
    "r": 186,
    "g": 88,
    "b": 201
  },
  "hsl": {
    "h": 292.035,
    "s": 51.131,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62386,
    "c": 0.18857,
    "h": 322.2
  },
  "luminance": 0.21636
}

Semantic roles & 50–950 ramp

primary
#BA58C9
secondary
#ADD6A7
accent
#DB4D60
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA58C9

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

Preview Lab → · Contrast checker → · Palette generator →

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