#BA61CA#BA61CA

#BA61CA is a light, vivid purple. Relative luminance 0.233; OKLCH L 63.6% C 0.176 H 321.3°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#BA61CA
RGBrgb(186, 97, 202)
HSLhsl(291, 50%, 59%)
HSVhsv(291, 52%, 79%)
CMYKcmyk(7.9%, 52%, 0%, 20.8%)
CIE-LABlab(55.33, 51.54, -39.60)
CIE-LCHlch(55.33, 65.00, 322.46°)
OKLaboklab(63.65% 0.1371 -0.1096)
OKLCHoklch(63.65% 0.176 321.3)
XYZxyz(35.1839, 23.2543, 58.5009)
Luminance0.2325 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA61CA #71CA61
analogous
#8561CA #BA61CA #CA61A5
triadic
#BA61CA #CABA61 #61CABA
tetradic
#BA61CA #CA8561 #71CA61 #61A5CA
square
#BA61CA #CA8561 #71CA61 #61A5CA
split-complementary
#BA61CA #A5CA61 #61CA85
monochromatic
#772C84 #A03CB2 #BA61CA #CE8FD9 #E2BDE9

Accessibility & contrast

On white

3.72
#BA61CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#BA61CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA61CA
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA61CA#FFFFFF#000000##000000
##BA61CA1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#507ECD
Deuteranopia (green-blind)
#6C88C7
Tritanopia (blue-blind)
#BC6F8D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ba61ca;
/* rgb */ color: rgb(186, 97, 202);
/* oklch */ color: oklch(63.6% 0.176 321.3);
Tailwind
colors: {
  custom: {
    50: '#d191da',
    500: '#ba61ca',
    950: '#000000',
  },
}
SCSS
$custom: #ba61ca;
$custom-light: #d191da;
$custom-dark: #000000;
JSON
{
  "hex": "#ba61ca",
  "rgb": {
    "r": 186,
    "g": 97,
    "b": 202
  },
  "hsl": {
    "h": 290.857,
    "s": 49.763,
    "l": 58.627
  },
  "oklch": {
    "l": 0.63646,
    "c": 0.17553,
    "h": 321.3
  },
  "luminance": 0.23253
}

Semantic roles & 50–950 ramp

primary
#BA61CA
secondary
#B5D8AF
accent
#D94F64
background
#FDF9FD
surface
#FAF1FB
border
#D3CBD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #BA61CA

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

Preview Lab → · Contrast checker → · Palette generator →

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