#BA64E1#BA64E1

#BA64E1 is a light, vivid purple. Relative luminance 0.250; OKLCH L 65.3% C 0.194 H 314.1°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#BA64E1
RGBrgb(186, 100, 225)
HSLhsl(281, 68%, 64%)
HSVhsv(281, 56%, 88%)
CMYKcmyk(17.3%, 55.6%, 0%, 11.8%)
CIE-LABlab(57.07, 54.67, -49.88)
CIE-LCHlch(57.07, 74.01, 317.62°)
OKLaboklab(65.3% 0.1351 -0.1395)
OKLCHoklch(65.3% 0.194 314.1)
XYZxyz(38.3952, 24.9908, 74.0207)
Luminance0.2499 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA64E1 #8BE164
analogous
#7B64E1 #BA64E1 #E164C9
triadic
#BA64E1 #E1BA64 #64E1BA
tetradic
#BA64E1 #E17B64 #8BE164 #64C9E1
square
#BA64E1 #E17B64 #8BE164 #64C9E1
split-complementary
#BA64E1 #C9E164 #64E17B
monochromatic
#7F21AA #A331D7 #BA64E1 #D197EB #E8CBF5

Accessibility & contrast

On white

3.50
#BA64E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#BA64E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA64E1
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA64E1#FFFFFF#000000##000000
##BA64E11.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4284E5
Deuteranopia (green-blind)
#618BDE
Tritanopia (blue-blind)
#B77999
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #ba64e1;
/* rgb */ color: rgb(186, 100, 225);
/* oklch */ color: oklch(65.3% 0.194 314.1);
Tailwind
colors: {
  custom: {
    50: '#d194eb',
    500: '#ba64e1',
    950: '#000000',
  },
}
SCSS
$custom: #ba64e1;
$custom-light: #d194eb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba64e1",
  "rgb": {
    "r": 186,
    "g": 100,
    "b": 225
  },
  "hsl": {
    "h": 281.28,
    "s": 67.568,
    "l": 63.725
  },
  "oklch": {
    "l": 0.653,
    "c": 0.19418,
    "h": 314.1
  },
  "luminance": 0.2499
}

Semantic roles & 50–950 ramp

primary
#BA64E1
secondary
#C8E6BA
accent
#CF1650
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #BA64E1

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

Preview Lab → · Contrast checker → · Palette generator →

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