#BA63CC#BA63CC

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

Color values

HEX#BA63CC
RGBrgb(186, 99, 204)
HSLhsl(290, 51%, 59%)
HSVhsv(290, 51%, 80%)
CMYKcmyk(8.8%, 51.5%, 0%, 20%)
CIE-LABlab(55.81, 50.92, -39.99)
CIE-LCHlch(55.81, 64.75, 321.86°)
OKLaboklab(64.03% 0.1346 -0.1108)
OKLCHoklch(64.03% 0.174 320.5)
XYZxyz(35.6093, 23.7239, 59.8185)
Luminance0.2372 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA63CC #75CC63
analogous
#8663CC #BA63CC #CC63AA
triadic
#BA63CC #CCBA63 #63CCBA
tetradic
#BA63CC #CC8663 #75CC63 #63AACC
square
#BA63CC #CC8663 #75CC63 #63AACC
split-complementary
#BA63CC #AACC63 #63CC86
monochromatic
#782C88 #A13CB6 #BA63CC #CE91DB #E3BFEA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA63CC#FFFFFF#000000##000000
##BA63CC1.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)
#5180CF
Deuteranopia (green-blind)
#6C89C9
Tritanopia (blue-blind)
#BB728E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ba63cc;
/* rgb */ color: rgb(186, 99, 204);
/* oklch */ color: oklch(64.0% 0.174 320.5);
Tailwind
colors: {
  custom: {
    50: '#d193dc',
    500: '#ba63cc',
    950: '#000000',
  },
}
SCSS
$custom: #ba63cc;
$custom-light: #d193dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba63cc",
  "rgb": {
    "r": 186,
    "g": 99,
    "b": 204
  },
  "hsl": {
    "h": 289.714,
    "s": 50.725,
    "l": 59.412
  },
  "oklch": {
    "l": 0.64029,
    "c": 0.17432,
    "h": 320.5
  },
  "luminance": 0.23722
}

Semantic roles & 50–950 ramp

primary
#BA63CC
secondary
#B8DAB1
accent
#DA4E66
background
#FDF9FD
surface
#FAF1FB
border
#D3CBD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #BA63CC

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

Preview Lab → · Contrast checker → · Palette generator →

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