#BA64CE#BA64CE

#BA64CE is a light, vivid purple. Relative luminance 0.240; OKLCH L 64.3% C 0.175 H 319.8°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#BA64CE
RGBrgb(186, 100, 206)
HSLhsl(289, 52%, 60%)
HSVhsv(289, 51%, 81%)
CMYKcmyk(9.7%, 51.5%, 0%, 19.2%)
CIE-LABlab(56.10, 50.81, -40.68)
CIE-LCHlch(56.10, 65.09, 321.32°)
OKLaboklab(64.27% 0.1335 -0.1128)
OKLCHoklch(64.27% 0.175 319.8)
XYZxyz(35.9461, 24.0111, 61.1217)
Luminance0.2401 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA64CE #78CE64
analogous
#8564CE #BA64CE #CE64AD
triadic
#BA64CE #CEBA64 #64CEBA
tetradic
#BA64CE #CE8564 #78CE64 #64ADCE
square
#BA64CE #CE8564 #78CE64 #64ADCE
split-complementary
#BA64CE #ADCE64 #64CE85
monochromatic
#792C8C #A23BBA #BA64CE #CF92DD #E3C1EB

Accessibility & contrast

On white

3.62
#BA64CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#BA64CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA64CE
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA64CE#FFFFFF#000000##000000
##BA64CE1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5180D2
Deuteranopia (green-blind)
#6C8ACB
Tritanopia (blue-blind)
#BB7390
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ba64ce;
/* rgb */ color: rgb(186, 100, 206);
/* oklch */ color: oklch(64.3% 0.175 319.8);
Tailwind
colors: {
  custom: {
    50: '#d193dd',
    500: '#ba64ce',
    950: '#000000',
  },
}
SCSS
$custom: #ba64ce;
$custom-light: #d193dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba64ce",
  "rgb": {
    "r": 186,
    "g": 100,
    "b": 206
  },
  "hsl": {
    "h": 288.679,
    "s": 51.961,
    "l": 60
  },
  "oklch": {
    "l": 0.64274,
    "c": 0.17472,
    "h": 319.8
  },
  "luminance": 0.2401
}

Semantic roles & 50–950 ramp

primary
#BA64CE
secondary
#BADBB2
accent
#DB4C67
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #BA64CE

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

Preview Lab → · Contrast checker → · Palette generator →

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