#BA64CC#BA64CC

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

Color values

HEX#BA64CC
RGBrgb(186, 100, 204)
HSLhsl(290, 50%, 60%)
HSVhsv(290, 51%, 80%)
CMYKcmyk(8.8%, 51%, 0%, 20%)
CIE-LABlab(56.00, 50.42, -39.69)
CIE-LCHlch(56.00, 64.17, 321.79°)
OKLaboklab(64.17% 0.1332 -0.1099)
OKLCHoklch(64.17% 0.173 320.5)
XYZxyz(35.7046, 23.9145, 59.8502)
Luminance0.2391 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA64CC #76CC64
analogous
#8664CC #BA64CC #CC64AA
triadic
#BA64CC #CCBA64 #64CCBA
tetradic
#BA64CC #CC8664 #76CC64 #64AACC
square
#BA64CC #CC8664 #76CC64 #64AACC
split-complementary
#BA64CC #AACC64 #64CC86
monochromatic
#792D89 #A13CB7 #BA64CC #CE92DB #E3C0EA

Accessibility & contrast

On white

3.63
#BA64CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#BA64CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA64CC
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA64CC#FFFFFF#000000##000000
##BA64CC1.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5280CF
Deuteranopia (green-blind)
#6D89C9
Tritanopia (blue-blind)
#BB728F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ba64cc;
/* rgb */ color: rgb(186, 100, 204);
/* oklch */ color: oklch(64.2% 0.173 320.5);
Tailwind
colors: {
  custom: {
    50: '#d193dc',
    500: '#ba64cc',
    950: '#000000',
  },
}
SCSS
$custom: #ba64cc;
$custom-light: #d193dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba64cc",
  "rgb": {
    "r": 186,
    "g": 100,
    "b": 204
  },
  "hsl": {
    "h": 289.615,
    "s": 50.485,
    "l": 59.608
  },
  "oklch": {
    "l": 0.64171,
    "c": 0.17271,
    "h": 320.5
  },
  "luminance": 0.23913
}

Semantic roles & 50–950 ramp

primary
#BA64CC
secondary
#B9DAB2
accent
#DA4E66
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #BA64CC

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

Preview Lab → · Contrast checker → · Palette generator →

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