#BA63BC#BA63BC

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

Color values

HEX#BA63BC
RGBrgb(186, 99, 188)
HSLhsl(299, 40%, 56%)
HSVhsv(299, 47%, 74%)
CMYKcmyk(1.1%, 47.3%, 0%, 26.3%)
CIE-LABlab(55.07, 47.87, -32.00)
CIE-LCHlch(55.07, 57.58, 326.24°)
OKLaboklab(63.24% 0.1323 -0.0878)
OKLCHoklch(63.24% 0.159 326.4)
XYZxyz(33.7880, 22.9953, 50.2260)
Luminance0.2299 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA63BC #65BC63
analogous
#8E63BC #BA63BC #BC6392
triadic
#BA63BC #BCBA63 #63BCBA
tetradic
#BA63BC #BC8E63 #65BC63 #6392BC
square
#BA63BC #BC8E63 #65BC63 #6392BC
split-complementary
#BA63BC #92BC63 #63BC8E
monochromatic
#723173 #9C449E #BA63BC #CD8ECE #E0B9E1

Accessibility & contrast

On white

3.75
#BA63BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#BA63BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA63BC
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA63BC#FFFFFF#000000##000000
##BA63BC1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7DBF
Deuteranopia (green-blind)
#7488B9
Tritanopia (blue-blind)
#BE6D87
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ba63bc;
/* rgb */ color: rgb(186, 99, 188);
/* oklch */ color: oklch(63.2% 0.159 326.4);
Tailwind
colors: {
  custom: {
    50: '#d192d0',
    500: '#ba63bc',
    950: '#000000',
  },
}
SCSS
$custom: #ba63bc;
$custom-light: #d192d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba63bc",
  "rgb": {
    "r": 186,
    "g": 99,
    "b": 188
  },
  "hsl": {
    "h": 298.652,
    "s": 39.91,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63237,
    "c": 0.15874,
    "h": 326.4
  },
  "luminance": 0.22994
}

Semantic roles & 50–950 ramp

primary
#BA63BC
secondary
#ACD0AB
accent
#D0585B
background
#FDF9FC
surface
#FAF1F9
border
#D3CBD2
text
#140D14
muted
#837E82

Preview Lab

Preview with #BA63BC

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

Preview Lab → · Contrast checker → · Palette generator →

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