#BA64F4#BA64F4

#BA64F4 is a light, highly saturated violet. Relative luminance 0.261; OKLCH L 66.4% C 0.214 H 309.3°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#BA64F4
RGBrgb(186, 100, 244)
HSLhsl(276, 87%, 67%)
HSVhsv(276, 59%, 96%)
CMYKcmyk(23.8%, 59%, 0%, 4.3%)
CIE-LABlab(58.12, 58.72, -58.81)
CIE-LCHlch(58.12, 83.11, 314.96°)
OKLaboklab(66.41% 0.1356 -0.1656)
OKLCHoklch(66.41% 0.214 309.3)
XYZxyz(41.1328, 26.0858, 88.4386)
Luminance0.2609 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA64F4 #9EF464
analogous
#7264F4 #BA64F4 #F464E6
triadic
#BA64F4 #F4BA64 #64F4BA
tetradic
#BA64F4 #F47264 #9EF464 #64E6F4
square
#BA64F4 #F47264 #9EF464 #64E6F4
split-complementary
#BA64F4 #E6F464 #64F472
monochromatic
#810FCF #A12BF0 #BA64F4 #D39DF8 #EDD6FC

Accessibility & contrast

On white

3.38
#BA64F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#BA64F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA64F4
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA64F4#FFFFFF#000000##000000
##BA64F41.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A88F9
Deuteranopia (green-blind)
#528DF1
Tritanopia (blue-blind)
#B27FA3
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ba64f4;
/* rgb */ color: rgb(186, 100, 244);
/* oklch */ color: oklch(66.4% 0.214 309.3);
Tailwind
colors: {
  custom: {
    50: '#d294f8',
    500: '#ba64f4',
    950: '#000000',
  },
}
SCSS
$custom: #ba64f4;
$custom-light: #d294f8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba64f4",
  "rgb": {
    "r": 186,
    "g": 100,
    "b": 244
  },
  "hsl": {
    "h": 275.833,
    "s": 86.747,
    "l": 67.451
  },
  "oklch": {
    "l": 0.66408,
    "c": 0.21403,
    "h": 309.3
  },
  "luminance": 0.26085
}

Semantic roles & 50–950 ramp

primary
#BA64F4
secondary
#D6F0C3
accent
#E3025D
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA64F4

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

Preview Lab → · Contrast checker → · Palette generator →

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