#BA61BA#BA61BA

#BA61BA is a light, vivid purple. Relative luminance 0.225; OKLCH L 62.9% C 0.160 H 327.3°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#BA61BA
RGBrgb(186, 97, 186)
HSLhsl(300, 39%, 55%)
HSVhsv(300, 48%, 73%)
CMYKcmyk(0%, 47.8%, 0%, 27.1%)
CIE-LABlab(54.59, 48.52, -31.59)
CIE-LCHlch(54.59, 57.90, 326.93°)
OKLaboklab(62.85% 0.1348 -0.0866)
OKLCHoklch(62.85% 0.16 327.3)
XYZxyz(33.3867, 22.5354, 49.0360)
Luminance0.2253 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA61BA #61BA61
analogous
#8D61BA #BA61BA #BA618D
triadic
#BA61BA #BABA61 #61BABA
tetradic
#BA61BA #BA8D61 #61BA61 #618DBA
square
#BA61BA #BA8D61 #61BA61 #618DBA
split-complementary
#BA61BA #8DBA61 #61BA8D
monochromatic
#703170 #9A439A #BA61BA #CD8CCD #DFB6DF

Accessibility & contrast

On white

3.81
#BA61BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#BA61BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA61BA
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA61BA#FFFFFF#000000##000000
##BA61BA1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#597BBD
Deuteranopia (green-blind)
#7387B7
Tritanopia (blue-blind)
#BF6A85
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ba61ba;
/* rgb */ color: rgb(186, 97, 186);
/* oklch */ color: oklch(62.9% 0.160 327.3);
Tailwind
colors: {
  custom: {
    50: '#d191cf',
    500: '#ba61ba',
    950: '#000000',
  },
}
SCSS
$custom: #ba61ba;
$custom-light: #d191cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba61ba",
  "rgb": {
    "r": 186,
    "g": 97,
    "b": 186
  },
  "hsl": {
    "h": 300,
    "s": 39.207,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62854,
    "c": 0.16019,
    "h": 327.3
  },
  "luminance": 0.22534
}

Semantic roles & 50–950 ramp

primary
#BA61BA
secondary
#A9CEA9
accent
#CF5959
background
#FDF9FC
surface
#FAF1F9
border
#D3CBD2
text
#140D14
muted
#837E82

Preview Lab

Preview with #BA61BA

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

Preview Lab → · Contrast checker → · Palette generator →

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