#BA64F7#BA64F7

#BA64F7 is a light, highly saturated violet. Relative luminance 0.263; OKLCH L 66.6% C 0.217 H 308.6°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#BA64F7
RGBrgb(186, 100, 247)
HSLhsl(275, 90%, 68%)
HSVhsv(275, 60%, 97%)
CMYKcmyk(24.7%, 59.5%, 0%, 3.1%)
CIE-LABlab(58.29, 59.38, -60.20)
CIE-LCHlch(58.29, 84.56, 314.60°)
OKLaboklab(66.59% 0.1355 -0.1697)
OKLCHoklch(66.59% 0.217 308.6)
XYZxyz(41.5920, 26.2695, 90.8571)
Luminance0.2627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA64F7 #A1F764
analogous
#7064F7 #BA64F7 #F764EA
triadic
#BA64F7 #F7BA64 #64F7BA
tetradic
#BA64F7 #F77064 #A1F764 #64EAF7
square
#BA64F7 #F77064 #A1F764 #64EAF7
split-complementary
#BA64F7 #EAF764 #64F770
monochromatic
#820BD6 #A02AF4 #BA64F7 #D49EFA #EED8FD

Accessibility & contrast

On white

3.36
#BA64F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#BA64F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA64F7
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA64F7#FFFFFF#000000##000000
##BA64F71.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2589FC
Deuteranopia (green-blind)
#4F8DF4
Tritanopia (blue-blind)
#B180A4
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ba64f7;
/* rgb */ color: rgb(186, 100, 247);
/* oklch */ color: oklch(66.6% 0.217 308.6);
Tailwind
colors: {
  custom: {
    50: '#d294fa',
    500: '#ba64f7',
    950: '#000000',
  },
}
SCSS
$custom: #ba64f7;
$custom-light: #d294fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba64f7",
  "rgb": {
    "r": 186,
    "g": 100,
    "b": 247
  },
  "hsl": {
    "h": 275.102,
    "s": 90.184,
    "l": 68.039
  },
  "oklch": {
    "l": 0.6659,
    "c": 0.21718,
    "h": 308.6
  },
  "luminance": 0.26269
}

Semantic roles & 50–950 ramp

primary
#BA64F7
secondary
#D8F2C5
accent
#E6005F
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA64F7

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

Preview Lab → · Contrast checker → · Palette generator →

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