#BA58D0#BA58D0

#BA58D0 is a light, vivid purple. Relative luminance 0.220; OKLCH L 62.8% C 0.195 H 319.9°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#BA58D0
RGBrgb(186, 88, 208)
HSLhsl(289, 56%, 58%)
HSVhsv(289, 58%, 82%)
CMYKcmyk(10.6%, 57.7%, 0%, 18.4%)
CIE-LABlab(54.00, 57.08, -45.13)
CIE-LCHlch(54.00, 72.77, 321.67°)
OKLaboklab(62.77% 0.1494 -0.1256)
OKLCHoklch(62.77% 0.195 319.9)
XYZxyz(35.1232, 21.9742, 62.0536)
Luminance0.2197 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA58D0 #6ED058
analogous
#7E58D0 #BA58D0 #D058AA
triadic
#BA58D0 #D0BA58 #58D0BA
tetradic
#BA58D0 #D07E58 #6ED058 #58AAD0
square
#BA58D0 #D07E58 #6ED058 #58AAD0
split-complementary
#BA58D0 #AAD058 #58D07E
monochromatic
#762687 #9F34B7 #BA58D0 #CE88DD #E1B8EB

Accessibility & contrast

On white

3.89
#BA58D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#BA58D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA58D0
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA58D0#FFFFFF#000000##000000
##BA58D01.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7AD4
Deuteranopia (green-blind)
#6185CD
Tritanopia (blue-blind)
#BB6A8C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ba58d0;
/* rgb */ color: rgb(186, 88, 208);
/* oklch */ color: oklch(62.8% 0.195 319.9);
Tailwind
colors: {
  custom: {
    50: '#d18cdf',
    500: '#ba58d0',
    950: '#000000',
  },
}
SCSS
$custom: #ba58d0;
$custom-light: #d18cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba58d0",
  "rgb": {
    "r": 186,
    "g": 88,
    "b": 208
  },
  "hsl": {
    "h": 289,
    "s": 56.075,
    "l": 58.039
  },
  "oklch": {
    "l": 0.62766,
    "c": 0.1952,
    "h": 319.9
  },
  "luminance": 0.21973
}

Semantic roles & 50–950 ramp

primary
#BA58D0
secondary
#B3DAAA
accent
#DF4864
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA58D0

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

Preview Lab → · Contrast checker → · Palette generator →

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