#BA63DB#BA63DB

#BA63DB is a light, vivid purple. Relative luminance 0.245; OKLCH L 64.8% C 0.190 H 315.9°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#BA63DB
RGBrgb(186, 99, 219)
HSLhsl(284, 63%, 62%)
HSVhsv(284, 55%, 86%)
CMYKcmyk(15.1%, 54.8%, 0%, 14.1%)
CIE-LABlab(56.56, 53.93, -47.30)
CIE-LCHlch(56.56, 71.74, 318.75°)
OKLaboklab(64.83% 0.136 -0.132)
OKLCHoklch(64.83% 0.19 315.9)
XYZxyz(37.4958, 24.4785, 69.7538)
Luminance0.2448 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA63DB #84DB63
analogous
#7E63DB #BA63DB #DB63C0
triadic
#BA63DB #DBBA63 #63DBBA
tetradic
#BA63DB #DB7E63 #84DB63 #63C0DB
square
#BA63DB #DB7E63 #84DB63 #63C0DB
split-complementary
#BA63DB #C0DB63 #63DB7E
monochromatic
#7D259F #A431D0 #BA63DB #D095E6 #E6C6F2

Accessibility & contrast

On white

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

On black

5.90
#BA63DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA63DB
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA63DB#FFFFFF#000000##000000
##BA63DB1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4682DF
Deuteranopia (green-blind)
#648AD8
Tritanopia (blue-blind)
#B87696
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ba63db;
/* rgb */ color: rgb(186, 99, 219);
/* oklch */ color: oklch(64.8% 0.190 315.9);
Tailwind
colors: {
  custom: {
    50: '#d193e7',
    500: '#ba63db',
    950: '#000000',
  },
}
SCSS
$custom: #ba63db;
$custom-light: #d193e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba63db",
  "rgb": {
    "r": 186,
    "g": 99,
    "b": 219
  },
  "hsl": {
    "h": 283.5,
    "s": 62.5,
    "l": 62.353
  },
  "oklch": {
    "l": 0.64829,
    "c": 0.18951,
    "h": 315.9
  },
  "luminance": 0.24477
}

Semantic roles & 50–950 ramp

primary
#BA63DB
secondary
#C3E3B7
accent
#CA1B4B
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA63DB

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

Preview Lab → · Contrast checker → · Palette generator →

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