#BA64CD#BA64CD

#BA64CD is a light, vivid purple. Relative luminance 0.240; OKLCH L 64.2% C 0.174 H 320.1°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#BA64CD
RGBrgb(186, 100, 205)
HSLhsl(289, 51%, 60%)
HSVhsv(289, 51%, 80%)
CMYKcmyk(9.3%, 51.2%, 0%, 19.6%)
CIE-LABlab(56.05, 50.61, -40.18)
CIE-LCHlch(56.05, 64.63, 321.55°)
OKLaboklab(64.22% 0.1333 -0.1113)
OKLCHoklch(64.22% 0.174 320.1)
XYZxyz(35.8250, 23.9627, 60.4839)
Luminance0.2396 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA64CD #77CD64
analogous
#8664CD #BA64CD #CD64AC
triadic
#BA64CD #CDBA64 #64CDBA
tetradic
#BA64CD #CD8664 #77CD64 #64ACCD
square
#BA64CD #CD8664 #77CD64 #64ACCD
split-complementary
#BA64CD #ACCD64 #64CD86
monochromatic
#792D8A #A23BB8 #BA64CD #CF92DC #E3C1EB

Accessibility & contrast

On white

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

On black

5.79
#BA64CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA64CD
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA64CD#FFFFFF#000000##000000
##BA64CD1.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5280D1
Deuteranopia (green-blind)
#6C8ACA
Tritanopia (blue-blind)
#BB738F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #ba64cd;
/* rgb */ color: rgb(186, 100, 205);
/* oklch */ color: oklch(64.2% 0.174 320.1);
Tailwind
colors: {
  custom: {
    50: '#d193dc',
    500: '#ba64cd',
    950: '#000000',
  },
}
SCSS
$custom: #ba64cd;
$custom-light: #d193dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba64cd",
  "rgb": {
    "r": 186,
    "g": 100,
    "b": 205
  },
  "hsl": {
    "h": 289.143,
    "s": 51.22,
    "l": 59.804
  },
  "oklch": {
    "l": 0.64222,
    "c": 0.17371,
    "h": 320.1
  },
  "luminance": 0.23961
}

Semantic roles & 50–950 ramp

primary
#BA64CD
secondary
#B9DBB2
accent
#DB4D67
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140D15
muted
#837E83

Preview Lab

Preview with #BA64CD

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

Preview Lab → · Contrast checker → · Palette generator →

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