#BA58C7#BA58C7

#BA58C7 is a light, vivid purple. Relative luminance 0.215; OKLCH L 62.3% C 0.187 H 322.8°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#BA58C7
RGBrgb(186, 88, 199)
HSLhsl(293, 50%, 56%)
HSVhsv(293, 56%, 78%)
CMYKcmyk(6.5%, 55.8%, 0%, 22%)
CIE-LABlab(53.54, 55.36, -40.71)
CIE-LCHlch(53.54, 68.72, 323.67°)
OKLaboklab(62.28% 0.1488 -0.1128)
OKLCHoklch(62.28% 0.187 322.8)
XYZxyz(34.0472, 21.5438, 56.3867)
Luminance0.2154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA58C7 #65C758
analogous
#8358C7 #BA58C7 #C7589D
triadic
#BA58C7 #C7BA58 #58C7BA
tetradic
#BA58C7 #C78358 #65C758 #589DC7
square
#BA58C7 #C78358 #65C758 #589DC7
split-complementary
#BA58C7 #9DC758 #58C783
monochromatic
#72297B #9C39A9 #BA58C7 #CD86D6 #E0B4E6

Accessibility & contrast

On white

3.96
#BA58C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#BA58C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA58C7
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA58C7#FFFFFF#000000##000000
##BA58C71.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4679CB
Deuteranopia (green-blind)
#6684C4
Tritanopia (blue-blind)
#BD6787
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ba58c7;
/* rgb */ color: rgb(186, 88, 199);
/* oklch */ color: oklch(62.3% 0.187 322.8);
Tailwind
colors: {
  custom: {
    50: '#d18cd8',
    500: '#ba58c7',
    950: '#000000',
  },
}
SCSS
$custom: #ba58c7;
$custom-light: #d18cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba58c7",
  "rgb": {
    "r": 186,
    "g": 88,
    "b": 199
  },
  "hsl": {
    "h": 292.973,
    "s": 49.776,
    "l": 56.275
  },
  "oklch": {
    "l": 0.6228,
    "c": 0.18669,
    "h": 322.8
  },
  "luminance": 0.21542
}

Semantic roles & 50–950 ramp

primary
#BA58C7
secondary
#ACD4A7
accent
#D94F5F
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #BA58C7

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

Preview Lab → · Contrast checker → · Palette generator →

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