#BA64F6#BA64F6

#BA64F6 is a light, highly saturated violet. Relative luminance 0.262; OKLCH L 66.5% C 0.216 H 308.8°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#BA64F6
RGBrgb(186, 100, 246)
HSLhsl(275, 89%, 68%)
HSVhsv(275, 59%, 96%)
CMYKcmyk(24.4%, 59.3%, 0%, 3.5%)
CIE-LABlab(58.23, 59.16, -59.74)
CIE-LCHlch(58.23, 84.07, 314.72°)
OKLaboklab(66.53% 0.1355 -0.1683)
OKLCHoklch(66.53% 0.216 308.8)
XYZxyz(41.4381, 26.2079, 90.0466)
Luminance0.2621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA64F6 #A0F664
analogous
#7164F6 #BA64F6 #F664E9
triadic
#BA64F6 #F6BA64 #64F6BA
tetradic
#BA64F6 #F67164 #A0F664 #64E9F6
square
#BA64F6 #F67164 #A0F664 #64E9F6
split-complementary
#BA64F6 #E9F664 #64F671
monochromatic
#820CD3 #A02AF3 #BA64F6 #D49EF9 #EDD8FD

Accessibility & contrast

On white

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

On black

6.24
#BA64F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA64F6
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA64F6#FFFFFF#000000##000000
##BA64F61.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2788FB
Deuteranopia (green-blind)
#508DF3
Tritanopia (blue-blind)
#B180A4
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #ba64f6;
/* rgb */ color: rgb(186, 100, 246);
/* oklch */ color: oklch(66.5% 0.216 308.8);
Tailwind
colors: {
  custom: {
    50: '#d294fa',
    500: '#ba64f6',
    950: '#000000',
  },
}
SCSS
$custom: #ba64f6;
$custom-light: #d294fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ba64f6",
  "rgb": {
    "r": 186,
    "g": 100,
    "b": 246
  },
  "hsl": {
    "h": 275.342,
    "s": 89.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.66529,
    "c": 0.21613,
    "h": 308.8
  },
  "luminance": 0.26207
}

Semantic roles & 50–950 ramp

primary
#BA64F6
secondary
#D7F1C4
accent
#E6005E
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA64F6

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

Preview Lab → · Contrast checker → · Palette generator →

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