#BA63DC#BA63DC

#BA63DC is a light, vivid purple. Relative luminance 0.245; OKLCH L 64.9% C 0.191 H 315.6°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#BA63DC
RGBrgb(186, 99, 220)
HSLhsl(283, 63%, 63%)
HSVhsv(283, 55%, 86%)
CMYKcmyk(15.5%, 55%, 0%, 13.7%)
CIE-LABlab(56.62, 54.14, -47.78)
CIE-LCHlch(56.62, 72.21, 318.57°)
OKLaboklab(64.88% 0.1361 -0.1334)
OKLCHoklch(64.88% 0.191 315.6)
XYZxyz(37.6278, 24.5313, 70.4492)
Luminance0.2453 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA63DC #85DC63
analogous
#7D63DC #BA63DC #DC63C2
triadic
#BA63DC #DCBA63 #63DCBA
tetradic
#BA63DC #DC7D63 #85DC63 #63C2DC
square
#BA63DC #DC7D63 #85DC63 #63C2DC
split-complementary
#BA63DC #C2DC63 #63DC7D
monochromatic
#7E24A1 #A431D1 #BA63DC #D095E7 #E6C7F2

Accessibility & contrast

On white

3.56
#BA63DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#BA63DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA63DC
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA63DC#FFFFFF#000000##000000
##BA63DC1.003.565.915.91
#FFFFFF3.561.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4583E0
Deuteranopia (green-blind)
#638AD9
Tritanopia (blue-blind)
#B87796
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ba63dc;
/* rgb */ color: rgb(186, 99, 220);
/* oklch */ color: oklch(64.9% 0.191 315.6);
Tailwind
colors: {
  custom: {
    50: '#d193e7',
    500: '#ba63dc',
    950: '#000000',
  },
}
SCSS
$custom: #ba63dc;
$custom-light: #d193e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba63dc",
  "rgb": {
    "r": 186,
    "g": 99,
    "b": 220
  },
  "hsl": {
    "h": 283.14,
    "s": 63.351,
    "l": 62.549
  },
  "oklch": {
    "l": 0.64884,
    "c": 0.19054,
    "h": 315.6
  },
  "luminance": 0.2453
}

Semantic roles & 50–950 ramp

primary
#BA63DC
secondary
#C4E3B7
accent
#CB1A4C
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA63DC

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

Preview Lab → · Contrast checker → · Palette generator →

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