#BA4EF5#BA4EF5

#BA4EF5 is a light, highly saturated violet. Relative luminance 0.225; OKLCH L 63.8% C 0.244 H 311.0°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#BA4EF5
RGBrgb(186, 78, 245)
HSLhsl(279, 89%, 63%)
HSVhsv(279, 68%, 96%)
CMYKcmyk(24.1%, 68.2%, 0%, 3.9%)
CIE-LABlab(54.53, 68.95, -65.13)
CIE-LCHlch(54.53, 94.85, 316.63°)
OKLaboklab(63.84% 0.16 -0.184)
OKLCHoklch(63.84% 0.244 311)
XYZxyz(39.4524, 22.4814, 88.6295)
Luminance0.2248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4EF5 #89F54E
analogous
#664EF5 #BA4EF5 #F54EDD
triadic
#BA4EF5 #F5BA4E #4EF5BA
tetradic
#BA4EF5 #F5664E #89F54E #4EDDF5
square
#BA4EF5 #F5664E #89F54E #4EDDF5
split-complementary
#BA4EF5 #DDF54E #4EF566
monochromatic
#7F0BBE #A314F2 #BA4EF5 #D188F8 #E7C2FC

Accessibility & contrast

On white

3.82
#BA4EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#BA4EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4EF5
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4EF5#FFFFFF#000000##000000
##BA4EF51.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFA
Deuteranopia (green-blind)
#3784F1
Tritanopia (blue-blind)
#B2729C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ba4ef5;
/* rgb */ color: rgb(186, 78, 245);
/* oklch */ color: oklch(63.8% 0.244 311.0);
Tailwind
colors: {
  custom: {
    50: '#d387f9',
    500: '#ba4ef5',
    950: '#000000',
  },
}
SCSS
$custom: #ba4ef5;
$custom-light: #d387f9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4ef5",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 245
  },
  "hsl": {
    "h": 278.802,
    "s": 89.305,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63841,
    "c": 0.24385,
    "h": 311
  },
  "luminance": 0.2248
}

Semantic roles & 50–950 ramp

primary
#BA4EF5
secondary
#C7EDB2
accent
#E60051
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #BA4EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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