#BA58CD#BA58CD

#BA58CD is a light, vivid purple. Relative luminance 0.218; OKLCH L 62.6% C 0.192 H 320.9°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#BA58CD
RGBrgb(186, 88, 205)
HSLhsl(290, 54%, 57%)
HSVhsv(290, 57%, 80%)
CMYKcmyk(9.3%, 57.1%, 0%, 19.6%)
CIE-LABlab(53.84, 56.50, -43.66)
CIE-LCHlch(53.84, 71.41, 322.30°)
OKLaboklab(62.6% 0.1492 -0.1214)
OKLCHoklch(62.6% 0.192 320.9)
XYZxyz(34.7576, 21.8279, 60.1281)
Luminance0.2183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA58CD #6BCD58
analogous
#7F58CD #BA58CD #CD58A6
triadic
#BA58CD #CDBA58 #58CDBA
tetradic
#BA58CD #CD7F58 #6BCD58 #58A6CD
square
#BA58CD #CD7F58 #6BCD58 #58A6CD
split-complementary
#BA58CD #A6CD58 #58CD7F
monochromatic
#742783 #9E35B2 #BA58CD #CD87DB #E1B6E9

Accessibility & contrast

On white

3.91
#BA58CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#BA58CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA58CD
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA58CD#FFFFFF#000000##000000
##BA58CD1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#417AD1
Deuteranopia (green-blind)
#6384CA
Tritanopia (blue-blind)
#BB698A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ba58cd;
/* rgb */ color: rgb(186, 88, 205);
/* oklch */ color: oklch(62.6% 0.192 320.9);
Tailwind
colors: {
  custom: {
    50: '#d18cdd',
    500: '#ba58cd',
    950: '#000000',
  },
}
SCSS
$custom: #ba58cd;
$custom-light: #d18cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba58cd",
  "rgb": {
    "r": 186,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 290.256,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62602,
    "c": 0.19235,
    "h": 320.9
  },
  "luminance": 0.21826
}

Semantic roles & 50–950 ramp

primary
#BA58CD
secondary
#B0D8A9
accent
#DD4B62
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA58CD

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

Preview Lab → · Contrast checker → · Palette generator →

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