#BA64F9#BA64F9

#BA64F9 is a light, highly saturated violet. Relative luminance 0.264; OKLCH L 66.7% C 0.219 H 308.2°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#BA64F9
RGBrgb(186, 100, 249)
HSLhsl(275, 93%, 68%)
HSVhsv(275, 60%, 98%)
CMYKcmyk(25.3%, 59.8%, 0%, 2.4%)
CIE-LABlab(58.41, 59.81, -61.12)
CIE-LCHlch(58.41, 85.52, 314.38°)
OKLaboklab(66.71% 0.1355 -0.1724)
OKLCHoklch(66.71% 0.219 308.2)
XYZxyz(41.9023, 26.3936, 92.4912)
Luminance0.2639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA64F9 #A3F964
analogous
#6F64F9 #BA64F9 #F964ED
triadic
#BA64F9 #F9BA64 #64F9BA
tetradic
#BA64F9 #F96F64 #A3F964 #64EDF9
square
#BA64F9 #F96F64 #A3F964 #64EDF9
split-complementary
#BA64F9 #EDF964 #64F96F
monochromatic
#8108DA #A029F7 #BA64F9 #D49FFB #EEDAFE

Accessibility & contrast

On white

3.34
#BA64F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#BA64F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA64F9
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA64F9#FFFFFF#000000##000000
##BA64F91.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2189FE
Deuteranopia (green-blind)
#4D8DF6
Tritanopia (blue-blind)
#B181A5
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ba64f9;
/* rgb */ color: rgb(186, 100, 249);
/* oklch */ color: oklch(66.7% 0.219 308.2);
Tailwind
colors: {
  custom: {
    50: '#d394fc',
    500: '#ba64f9',
    950: '#000000',
  },
}
SCSS
$custom: #ba64f9;
$custom-light: #d394fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba64f9",
  "rgb": {
    "r": 186,
    "g": 100,
    "b": 249
  },
  "hsl": {
    "h": 274.631,
    "s": 92.547,
    "l": 68.431
  },
  "oklch": {
    "l": 0.66713,
    "c": 0.21928,
    "h": 308.2
  },
  "luminance": 0.26393
}

Semantic roles & 50–950 ramp

primary
#BA64F9
secondary
#D9F3C6
accent
#E60061
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#150D18
muted
#837E86

Preview Lab

Preview with #BA64F9

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

Preview Lab → · Contrast checker → · Palette generator →

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