#BA63CA#BA63CA

#BA63CA is a light, vivid purple. Relative luminance 0.236; OKLCH L 63.9% C 0.172 H 321.2°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#BA63CA
RGBrgb(186, 99, 202)
HSLhsl(291, 49%, 59%)
HSVhsv(291, 51%, 79%)
CMYKcmyk(7.9%, 51%, 0%, 20.8%)
CIE-LABlab(55.71, 50.53, -39.00)
CIE-LCHlch(55.71, 63.83, 322.34°)
OKLaboklab(63.93% 0.1343 -0.1079)
OKLCHoklch(63.93% 0.172 321.2)
XYZxyz(35.3710, 23.6286, 58.5633)
Luminance0.2363 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA63CA #73CA63
analogous
#8763CA #BA63CA #CA63A7
triadic
#BA63CA #CABA63 #63CABA
tetradic
#BA63CA #CA8763 #73CA63 #63A7CA
square
#BA63CA #CA8763 #73CA63 #63A7CA
split-complementary
#BA63CA #A7CA63 #63CA87
monochromatic
#782D85 #A13DB3 #BA63CA #CE91DA #E2BEE9

Accessibility & contrast

On white

3.67
#BA63CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#BA63CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA63CA
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA63CA#FFFFFF#000000##000000
##BA63CA1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#527FCD
Deuteranopia (green-blind)
#6D89C7
Tritanopia (blue-blind)
#BC718D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #ba63ca;
/* rgb */ color: rgb(186, 99, 202);
/* oklch */ color: oklch(63.9% 0.172 321.2);
Tailwind
colors: {
  custom: {
    50: '#d193da',
    500: '#ba63ca',
    950: '#000000',
  },
}
SCSS
$custom: #ba63ca;
$custom-light: #d193da;
$custom-dark: #000000;
JSON
{
  "hex": "#ba63ca",
  "rgb": {
    "r": 186,
    "g": 99,
    "b": 202
  },
  "hsl": {
    "h": 290.68,
    "s": 49.282,
    "l": 59.02
  },
  "oklch": {
    "l": 0.63927,
    "c": 0.17233,
    "h": 321.2
  },
  "luminance": 0.23627
}

Semantic roles & 50–950 ramp

primary
#BA63CA
secondary
#B6D9B0
accent
#D94F64
background
#FDF9FD
surface
#FAF1FB
border
#D3CBD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #BA63CA

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

Preview Lab → · Contrast checker → · Palette generator →

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