#BA63AA#BA63AA

#BA63AA is a light, vivid pink. Relative luminance 0.223; OKLCH L 62.4% C 0.143 H 334.4°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#BA63AA
RGBrgb(186, 99, 170)
HSLhsl(311, 39%, 56%)
HSVhsv(311, 47%, 73%)
CMYKcmyk(0%, 46.8%, 8.6%, 27.1%)
CIE-LABlab(54.31, 44.66, -22.77)
CIE-LCHlch(54.31, 50.13, 332.98°)
OKLaboklab(62.42% 0.1286 -0.0616)
OKLCHoklch(62.42% 0.143 334.4)
XYZxyz(31.9672, 22.2670, 40.6366)
Luminance0.2226 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA63AA #63BA73
analogous
#9E63BA #BA63AA #BA637E
triadic
#BA63AA #AABA63 #63AABA
tetradic
#BA63AA #BA9E63 #63BA73 #637EBA
square
#BA63AA #BA9E63 #63BA73 #637EBA
split-complementary
#BA63AA #7EBA63 #63BA9E
monochromatic
#713265 #9B458B #BA63AA #CD8DC1 #E0B8D8

Accessibility & contrast

On white

3.85
#BA63AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#BA63AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA63AA
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA63AA#FFFFFF#000000##000000
##BA63AA1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#637AAC
Deuteranopia (green-blind)
#7A87A8
Tritanopia (blue-blind)
#C1677F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ba63aa;
/* rgb */ color: rgb(186, 99, 170);
/* oklch */ color: oklch(62.4% 0.143 334.4);
Tailwind
colors: {
  custom: {
    50: '#d092c3',
    500: '#ba63aa',
    950: '#000000',
  },
}
SCSS
$custom: #ba63aa;
$custom-light: #d092c3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba63aa",
  "rgb": {
    "r": 186,
    "g": 99,
    "b": 170
  },
  "hsl": {
    "h": 311.034,
    "s": 38.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.62424,
    "c": 0.14257,
    "h": 334.4
  },
  "luminance": 0.22265
}

Semantic roles & 50–950 ramp

primary
#BA63AA
secondary
#AACEB1
accent
#CF6F59
background
#FDF9FC
surface
#FAF1F8
border
#D3CBD1
text
#140D12
muted
#837E81

Preview Lab

Preview with #BA63AA

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

Preview Lab → · Contrast checker → · Palette generator →

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