#BA64F5#BA64F5

#BA64F5 is a light, highly saturated violet. Relative luminance 0.261; OKLCH L 66.5% C 0.215 H 309.1°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#BA64F5
RGBrgb(186, 100, 245)
HSLhsl(276, 88%, 68%)
HSVhsv(276, 59%, 96%)
CMYKcmyk(24.1%, 59.2%, 0%, 3.9%)
CIE-LABlab(58.18, 58.94, -59.28)
CIE-LCHlch(58.18, 83.59, 314.84°)
OKLaboklab(66.47% 0.1356 -0.167)
OKLCHoklch(66.47% 0.215 309.1)
XYZxyz(41.2851, 26.1467, 89.2404)
Luminance0.2615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA64F5 #9FF564
analogous
#7164F5 #BA64F5 #F564E8
triadic
#BA64F5 #F5BA64 #64F5BA
tetradic
#BA64F5 #F57164 #9FF564 #64E8F5
square
#BA64F5 #F57164 #9FF564 #64E8F5
split-complementary
#BA64F5 #E8F564 #64F571
monochromatic
#820DD1 #A02BF1 #BA64F5 #D49DF9 #EDD7FC

Accessibility & contrast

On white

3.37
#BA64F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#BA64F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA64F5
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA64F5#FFFFFF#000000##000000
##BA64F51.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2988FA
Deuteranopia (green-blind)
#518DF2
Tritanopia (blue-blind)
#B280A3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ba64f5;
/* rgb */ color: rgb(186, 100, 245);
/* oklch */ color: oklch(66.5% 0.215 309.1);
Tailwind
colors: {
  custom: {
    50: '#d294f9',
    500: '#ba64f5',
    950: '#000000',
  },
}
SCSS
$custom: #ba64f5;
$custom-light: #d294f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba64f5",
  "rgb": {
    "r": 186,
    "g": 100,
    "b": 245
  },
  "hsl": {
    "h": 275.586,
    "s": 87.879,
    "l": 67.647
  },
  "oklch": {
    "l": 0.66469,
    "c": 0.21509,
    "h": 309.1
  },
  "luminance": 0.26146
}

Semantic roles & 50–950 ramp

primary
#BA64F5
secondary
#D6F1C4
accent
#E4015E
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA64F5

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

Preview Lab → · Contrast checker → · Palette generator →

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