#BA63BB#BA63BB

#BA63BB is a light, vivid purple. Relative luminance 0.230; OKLCH L 63.2% C 0.158 H 326.8°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#BA63BB
RGBrgb(186, 99, 187)
HSLhsl(299, 39%, 56%)
HSVhsv(299, 47%, 73%)
CMYKcmyk(0.5%, 47.1%, 0%, 26.7%)
CIE-LABlab(55.02, 47.69, -31.50)
CIE-LCHlch(55.02, 57.15, 326.56°)
OKLaboklab(63.19% 0.1321 -0.0863)
OKLCHoklch(63.19% 0.158 326.8)
XYZxyz(33.6805, 22.9524, 49.6603)
Luminance0.2295 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA63BB #64BB63
analogous
#8E63BB #BA63BB #BB6390
triadic
#BA63BB #BBBA63 #63BBBA
tetradic
#BA63BB #BB8E63 #64BB63 #6390BB
square
#BA63BB #BB8E63 #64BB63 #6390BB
split-complementary
#BA63BB #90BB63 #63BB8E
monochromatic
#713272 #9C449D #BA63BB #CD8ECE #E0B8E0

Accessibility & contrast

On white

3.76
#BA63BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#BA63BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA63BB
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA63BB#FFFFFF#000000##000000
##BA63BB1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7DBE
Deuteranopia (green-blind)
#7488B8
Tritanopia (blue-blind)
#BF6C86
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ba63bb;
/* rgb */ color: rgb(186, 99, 187);
/* oklch */ color: oklch(63.2% 0.158 326.8);
Tailwind
colors: {
  custom: {
    50: '#d192cf',
    500: '#ba63bb',
    950: '#000000',
  },
}
SCSS
$custom: #ba63bb;
$custom-light: #d192cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba63bb",
  "rgb": {
    "r": 186,
    "g": 99,
    "b": 187
  },
  "hsl": {
    "h": 299.318,
    "s": 39.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.6319,
    "c": 0.1578,
    "h": 326.8
  },
  "luminance": 0.22951
}

Semantic roles & 50–950 ramp

primary
#BA63BB
secondary
#ABCFAB
accent
#CF595A
background
#FDF9FC
surface
#FAF1F9
border
#D3CBD2
text
#140D14
muted
#837E82

Preview Lab

Preview with #BA63BB

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

Preview Lab → · Contrast checker → · Palette generator →

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