#BA58C8#BA58C8

#BA58C8 is a light, vivid purple. Relative luminance 0.216; OKLCH L 62.3% C 0.188 H 322.5°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#BA58C8
RGBrgb(186, 88, 200)
HSLhsl(293, 50%, 56%)
HSVhsv(293, 56%, 78%)
CMYKcmyk(7%, 56%, 0%, 21.6%)
CIE-LABlab(53.59, 55.55, -41.21)
CIE-LCHlch(53.59, 69.16, 323.43°)
OKLaboklab(62.33% 0.1488 -0.1142)
OKLCHoklch(62.33% 0.188 322.5)
XYZxyz(34.1637, 21.5904, 57.0002)
Luminance0.2159 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA58C8 #66C858
analogous
#8258C8 #BA58C8 #C8589E
triadic
#BA58C8 #C8BA58 #58C8BA
tetradic
#BA58C8 #C88258 #66C858 #589EC8
square
#BA58C8 #C88258 #66C858 #589EC8
split-complementary
#BA58C8 #9EC858 #58C882
monochromatic
#72297D #9C38AB #BA58C8 #CD86D7 #E0B4E6

Accessibility & contrast

On white

3.95
#BA58C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#BA58C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA58C8
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA58C8#FFFFFF#000000##000000
##BA58C81.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4579CC
Deuteranopia (green-blind)
#6684C5
Tritanopia (blue-blind)
#BC6888
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ba58c8;
/* rgb */ color: rgb(186, 88, 200);
/* oklch */ color: oklch(62.3% 0.188 322.5);
Tailwind
colors: {
  custom: {
    50: '#d18cd9',
    500: '#ba58c8',
    950: '#000000',
  },
}
SCSS
$custom: #ba58c8;
$custom-light: #d18cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba58c8",
  "rgb": {
    "r": 186,
    "g": 88,
    "b": 200
  },
  "hsl": {
    "h": 292.5,
    "s": 50.45,
    "l": 56.471
  },
  "oklch": {
    "l": 0.62333,
    "c": 0.18762,
    "h": 322.5
  },
  "luminance": 0.21589
}

Semantic roles & 50–950 ramp

primary
#BA58C8
secondary
#ADD5A7
accent
#DA4E5F
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #BA58C8

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

Preview Lab → · Contrast checker → · Palette generator →

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