#BA63CD#BA63CD

#BA63CD is a light, vivid purple. Relative luminance 0.238; OKLCH L 64.1% C 0.175 H 320.2°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#BA63CD
RGBrgb(186, 99, 205)
HSLhsl(289, 51%, 60%)
HSVhsv(289, 52%, 80%)
CMYKcmyk(9.3%, 51.7%, 0%, 19.6%)
CIE-LABlab(55.86, 51.12, -40.48)
CIE-LCHlch(55.86, 65.21, 321.62°)
OKLaboklab(64.08% 0.1347 -0.1122)
OKLCHoklch(64.08% 0.175 320.2)
XYZxyz(35.7296, 23.7720, 60.4522)
Luminance0.2377 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA63CD #76CD63
analogous
#8563CD #BA63CD #CD63AB
triadic
#BA63CD #CDBA63 #63CDBA
tetradic
#BA63CD #CD8563 #76CD63 #63ABCD
square
#BA63CD #CD8563 #76CD63 #63ABCD
split-complementary
#BA63CD #ABCD63 #63CD85
monochromatic
#792C8A #A13BB8 #BA63CD #CE91DC #E3C0EB

Accessibility & contrast

On white

3.65
#BA63CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#BA63CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA63CD
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA63CD#FFFFFF#000000##000000
##BA63CD1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5080D1
Deuteranopia (green-blind)
#6C89CA
Tritanopia (blue-blind)
#BB728F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ba63cd;
/* rgb */ color: rgb(186, 99, 205);
/* oklch */ color: oklch(64.1% 0.175 320.2);
Tailwind
colors: {
  custom: {
    50: '#d193dc',
    500: '#ba63cd',
    950: '#000000',
  },
}
SCSS
$custom: #ba63cd;
$custom-light: #d193dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba63cd",
  "rgb": {
    "r": 186,
    "g": 99,
    "b": 205
  },
  "hsl": {
    "h": 289.245,
    "s": 51.456,
    "l": 59.608
  },
  "oklch": {
    "l": 0.64081,
    "c": 0.17531,
    "h": 320.2
  },
  "luminance": 0.23771
}

Semantic roles & 50–950 ramp

primary
#BA63CD
secondary
#B9DAB1
accent
#DB4D66
background
#FDF9FD
surface
#FAF1FB
border
#D3CBD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #BA63CD

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

Preview Lab → · Contrast checker → · Palette generator →

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