#BA64EE#BA64EE

#BA64EE is a light, highly saturated violet. Relative luminance 0.257; OKLCH L 66.0% C 0.208 H 310.7°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#BA64EE
RGBrgb(186, 100, 238)
HSLhsl(277, 80%, 66%)
HSVhsv(277, 58%, 93%)
CMYKcmyk(21.8%, 58%, 0%, 6.7%)
CIE-LABlab(57.78, 57.43, -56.02)
CIE-LCHlch(57.78, 80.23, 315.71°)
OKLaboklab(66.05% 0.1355 -0.1575)
OKLCHoklch(66.05% 0.208 310.7)
XYZxyz(40.2366, 25.7273, 83.7186)
Luminance0.2573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA64EE #98EE64
analogous
#7564EE #BA64EE #EE64DD
triadic
#BA64EE #EEBA64 #64EEBA
tetradic
#BA64EE #EE7564 #98EE64 #64DDEE
square
#BA64EE #EE7564 #98EE64 #64DDEE
split-complementary
#BA64EE #DDEE64 #64EE75
monochromatic
#8115C2 #A12DE8 #BA64EE #D39BF4 #EBD2FA

Accessibility & contrast

On white

3.42
#BA64EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#BA64EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA64EE
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA64EE#FFFFFF#000000##000000
##BA64EE1.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3487F2
Deuteranopia (green-blind)
#578CEB
Tritanopia (blue-blind)
#B47DA0
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #ba64ee;
/* rgb */ color: rgb(186, 100, 238);
/* oklch */ color: oklch(66.0% 0.208 310.7);
Tailwind
colors: {
  custom: {
    50: '#d294f4',
    500: '#ba64ee',
    950: '#000000',
  },
}
SCSS
$custom: #ba64ee;
$custom-light: #d294f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba64ee",
  "rgb": {
    "r": 186,
    "g": 100,
    "b": 238
  },
  "hsl": {
    "h": 277.391,
    "s": 80.233,
    "l": 66.275
  },
  "oklch": {
    "l": 0.6605,
    "c": 0.20774,
    "h": 310.7
  },
  "luminance": 0.25726
}

Semantic roles & 50–950 ramp

primary
#BA64EE
secondary
#D1EDC0
accent
#DD0959
background
#FDF9FF
surface
#FAF2FE
border
#D3CCD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #BA64EE

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

Preview Lab → · Contrast checker → · Palette generator →

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