#BA63CF#BA63CF

#BA63CF is a light, vivid purple. Relative luminance 0.239; OKLCH L 64.2% C 0.177 H 319.5°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#BA63CF
RGBrgb(186, 99, 207)
HSLhsl(288, 53%, 60%)
HSVhsv(288, 52%, 81%)
CMYKcmyk(10.1%, 52.2%, 0%, 18.8%)
CIE-LABlab(55.96, 51.51, -41.47)
CIE-LCHlch(55.96, 66.13, 321.17°)
OKLaboklab(64.19% 0.1349 -0.1151)
OKLCHoklch(64.19% 0.177 319.5)
XYZxyz(35.9726, 23.8692, 61.7317)
Luminance0.2387 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA63CF #78CF63
analogous
#8463CF #BA63CF #CF63AE
triadic
#BA63CF #CFBA63 #63CFBA
tetradic
#BA63CF #CF8463 #78CF63 #63AECF
square
#BA63CF #CF8463 #78CF63 #63AECF
split-complementary
#BA63CF #AECF63 #63CF84
monochromatic
#792B8C #A23ABB #BA63CF #CF92DD #E3C1EC

Accessibility & contrast

On white

3.64
#BA63CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#BA63CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA63CF
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA63CF#FFFFFF#000000##000000
##BA63CF1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F80D3
Deuteranopia (green-blind)
#6A89CC
Tritanopia (blue-blind)
#BB7290
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ba63cf;
/* rgb */ color: rgb(186, 99, 207);
/* oklch */ color: oklch(64.2% 0.177 319.5);
Tailwind
colors: {
  custom: {
    50: '#d193de',
    500: '#ba63cf',
    950: '#000000',
  },
}
SCSS
$custom: #ba63cf;
$custom-light: #d193de;
$custom-dark: #000000;
JSON
{
  "hex": "#ba63cf",
  "rgb": {
    "r": 186,
    "g": 99,
    "b": 207
  },
  "hsl": {
    "h": 288.333,
    "s": 52.941,
    "l": 60
  },
  "oklch": {
    "l": 0.64185,
    "c": 0.17732,
    "h": 319.5
  },
  "luminance": 0.23868
}

Semantic roles & 50–950 ramp

primary
#BA63CF
secondary
#BADCB2
accent
#DC4B68
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #BA63CF

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

Preview Lab → · Contrast checker → · Palette generator →

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