#BA61BB#BA61BB

#BA61BB is a light, vivid purple. Relative luminance 0.226; OKLCH L 62.9% C 0.161 H 326.9°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#BA61BB
RGBrgb(186, 97, 187)
HSLhsl(299, 40%, 56%)
HSVhsv(299, 48%, 73%)
CMYKcmyk(0.5%, 48.1%, 0%, 26.7%)
CIE-LABlab(54.64, 48.70, -32.10)
CIE-LCHlch(54.64, 58.33, 326.61°)
OKLaboklab(62.9% 0.1349 -0.0881)
OKLCHoklch(62.9% 0.161 326.9)
XYZxyz(33.4934, 22.5781, 49.5979)
Luminance0.2258 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA61BB #62BB61
analogous
#8D61BB #BA61BB #BB618F
triadic
#BA61BB #BBBA61 #61BBBA
tetradic
#BA61BB #BB8D61 #62BB61 #618FBB
square
#BA61BB #BB8D61 #62BB61 #618FBB
split-complementary
#BA61BB #8FBB61 #61BB8D
monochromatic
#703171 #9B439C #BA61BB #CD8CCD #DFB7E0

Accessibility & contrast

On white

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

On black

5.52
#BA61BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA61BB
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA61BB#FFFFFF#000000##000000
##BA61BB1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#597BBE
Deuteranopia (green-blind)
#7387B8
Tritanopia (blue-blind)
#BF6B85
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #ba61bb;
/* rgb */ color: rgb(186, 97, 187);
/* oklch */ color: oklch(62.9% 0.161 326.9);
Tailwind
colors: {
  custom: {
    50: '#d191cf',
    500: '#ba61bb',
    950: '#000000',
  },
}
SCSS
$custom: #ba61bb;
$custom-light: #d191cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba61bb",
  "rgb": {
    "r": 186,
    "g": 97,
    "b": 187
  },
  "hsl": {
    "h": 299.333,
    "s": 39.823,
    "l": 55.686
  },
  "oklch": {
    "l": 0.62902,
    "c": 0.16112,
    "h": 326.9
  },
  "luminance": 0.22576
}

Semantic roles & 50–950 ramp

primary
#BA61BB
secondary
#AACFA9
accent
#D05859
background
#FDF9FC
surface
#FAF1F9
border
#D3CBD2
text
#140D14
muted
#837E82

Preview Lab

Preview with #BA61BB

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

Preview Lab → · Contrast checker → · Palette generator →

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