#BA63DD#BA63DD

#BA63DD is a light, vivid purple. Relative luminance 0.246; OKLCH L 64.9% C 0.192 H 315.3°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#BA63DD
RGBrgb(186, 99, 221)
HSLhsl(283, 64%, 63%)
HSVhsv(283, 55%, 87%)
CMYKcmyk(15.8%, 55.2%, 0%, 13.3%)
CIE-LABlab(56.67, 54.34, -48.26)
CIE-LCHlch(56.67, 72.68, 318.39°)
OKLaboklab(64.94% 0.1361 -0.1348)
OKLCHoklch(64.94% 0.192 315.3)
XYZxyz(37.7606, 24.5844, 71.1487)
Luminance0.2458 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA63DD #86DD63
analogous
#7D63DD #BA63DD #DD63C3
triadic
#BA63DD #DDBA63 #63DDBA
tetradic
#BA63DD #DD7D63 #86DD63 #63C3DD
square
#BA63DD #DD7D63 #86DD63 #63C3DD
split-complementary
#BA63DD #C3DD63 #63DD7D
monochromatic
#7E23A2 #A431D2 #BA63DD #D095E8 #E6C7F3

Accessibility & contrast

On white

3.55
#BA63DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#BA63DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA63DD
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA63DD#FFFFFF#000000##000000
##BA63DD1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4483E1
Deuteranopia (green-blind)
#628ADA
Tritanopia (blue-blind)
#B87797
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ba63dd;
/* rgb */ color: rgb(186, 99, 221);
/* oklch */ color: oklch(64.9% 0.192 315.3);
Tailwind
colors: {
  custom: {
    50: '#d193e8',
    500: '#ba63dd',
    950: '#000000',
  },
}
SCSS
$custom: #ba63dd;
$custom-light: #d193e8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba63dd",
  "rgb": {
    "r": 186,
    "g": 99,
    "b": 221
  },
  "hsl": {
    "h": 282.787,
    "s": 64.211,
    "l": 62.745
  },
  "oklch": {
    "l": 0.6494,
    "c": 0.19157,
    "h": 315.3
  },
  "luminance": 0.24583
}

Semantic roles & 50–950 ramp

primary
#BA63DD
secondary
#C4E4B8
accent
#CC194D
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA63DD

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

Preview Lab → · Contrast checker → · Palette generator →

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