#BA63CB#BA63CB

#BA63CB is a light, vivid purple. Relative luminance 0.237; OKLCH L 64.0% C 0.173 H 320.9°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#BA63CB
RGBrgb(186, 99, 203)
HSLhsl(290, 50%, 59%)
HSVhsv(290, 51%, 80%)
CMYKcmyk(8.4%, 51.2%, 0%, 20.4%)
CIE-LABlab(55.76, 50.73, -39.50)
CIE-LCHlch(55.76, 64.29, 322.09°)
OKLaboklab(63.98% 0.1345 -0.1094)
OKLCHoklch(63.98% 0.173 320.9)
XYZxyz(35.4898, 23.6761, 59.1888)
Luminance0.2367 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA63CB #74CB63
analogous
#8663CB #BA63CB #CB63A8
triadic
#BA63CB #CBBA63 #63CBBA
tetradic
#BA63CB #CB8663 #74CB63 #63A8CB
square
#BA63CB #CB8663 #74CB63 #63A8CB
split-complementary
#BA63CB #A8CB63 #63CB86
monochromatic
#782D87 #A13CB5 #BA63CB #CE91DA #E3BFEA

Accessibility & contrast

On white

3.66
#BA63CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#BA63CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA63CB
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA63CB#FFFFFF#000000##000000
##BA63CB1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#527FCE
Deuteranopia (green-blind)
#6D89C8
Tritanopia (blue-blind)
#BC718E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ba63cb;
/* rgb */ color: rgb(186, 99, 203);
/* oklch */ color: oklch(64.0% 0.173 320.9);
Tailwind
colors: {
  custom: {
    50: '#d193db',
    500: '#ba63cb',
    950: '#000000',
  },
}
SCSS
$custom: #ba63cb;
$custom-light: #d193db;
$custom-dark: #000000;
JSON
{
  "hex": "#ba63cb",
  "rgb": {
    "r": 186,
    "g": 99,
    "b": 203
  },
  "hsl": {
    "h": 290.192,
    "s": 50,
    "l": 59.216
  },
  "oklch": {
    "l": 0.63978,
    "c": 0.17332,
    "h": 320.9
  },
  "luminance": 0.23675
}

Semantic roles & 50–950 ramp

primary
#BA63CB
secondary
#B7D9B1
accent
#DA4E65
background
#FDF9FD
surface
#FAF1FB
border
#D3CBD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #BA63CB

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

Preview Lab → · Contrast checker → · Palette generator →

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