#BA63BF#BA63BF

#BA63BF is a light, vivid purple. Relative luminance 0.231; OKLCH L 63.4% C 0.162 H 325.2°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#BA63BF
RGBrgb(186, 99, 191)
HSLhsl(297, 42%, 57%)
HSVhsv(297, 48%, 75%)
CMYKcmyk(2.6%, 48.2%, 0%, 25.1%)
CIE-LABlab(55.20, 48.43, -33.52)
CIE-LCHlch(55.20, 58.90, 325.31°)
OKLaboklab(63.38% 0.1328 -0.0921)
OKLCHoklch(63.38% 0.162 325.2)
XYZxyz(34.1147, 23.1261, 51.9469)
Luminance0.2312 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA63BF #68BF63
analogous
#8C63BF #BA63BF #BF6396
triadic
#BA63BF #BFBA63 #63BFBA
tetradic
#BA63BF #BF8C63 #68BF63 #6396BF
square
#BA63BF #BF8C63 #68BF63 #6396BF
split-complementary
#BA63BF #96BF63 #63BF8C
monochromatic
#733177 #9D43A2 #BA63BF #CD8ED1 #E0BAE3

Accessibility & contrast

On white

3.73
#BA63BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#BA63BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA63BF
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA63BF#FFFFFF#000000##000000
##BA63BF1.003.735.625.62
#FFFFFF3.731.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#597DC2
Deuteranopia (green-blind)
#7288BC
Tritanopia (blue-blind)
#BE6E88
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ba63bf;
/* rgb */ color: rgb(186, 99, 191);
/* oklch */ color: oklch(63.4% 0.162 325.2);
Tailwind
colors: {
  custom: {
    50: '#d192d2',
    500: '#ba63bf',
    950: '#000000',
  },
}
SCSS
$custom: #ba63bf;
$custom-light: #d192d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba63bf",
  "rgb": {
    "r": 186,
    "g": 99,
    "b": 191
  },
  "hsl": {
    "h": 296.739,
    "s": 41.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63381,
    "c": 0.1616,
    "h": 325.2
  },
  "luminance": 0.23124
}

Semantic roles & 50–950 ramp

primary
#BA63BF
secondary
#AED2AC
accent
#D2565D
background
#FDF9FC
surface
#FAF1F9
border
#D3CBD2
text
#140D14
muted
#837E82

Preview Lab

Preview with #BA63BF

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

Preview Lab → · Contrast checker → · Palette generator →

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