#BA4EFF#BA4EFF

#BA4EFF is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 64.5% C 0.253 H 308.8°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#BA4EFF
RGBrgb(186, 78, 255)
HSLhsl(277, 100%, 65%)
HSVhsv(277, 69%, 100%)
CMYKcmyk(27.1%, 69.4%, 0%, 0%)
CIE-LABlab(55.18, 71.03, -69.64)
CIE-LCHlch(55.18, 99.47, 315.57°)
OKLaboklab(64.51% 0.1588 -0.1973)
OKLCHoklch(64.51% 0.253 308.8)
XYZxyz(41.0204, 23.1086, 96.8878)
Luminance0.2311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4EFF #93FF4E
analogous
#614EFF #BA4EFF #FF4EEC
triadic
#BA4EFF #FFBA4E #4EFFBA
tetradic
#BA4EFF #FF614E #93FF4E #4EECFF
square
#BA4EFF #FF614E #93FF4E #4EECFF
split-complementary
#BA4EFF #ECFF4E #4EFF61
monochromatic
#8100D3 #A211FF #BA4EFF #D28BFF #EAC8FF

Accessibility & contrast

On white

3.74
#BA4EFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#BA4EFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4EFF
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4EFF#FFFFFF#000000##000000
##BA4EFF1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#2485FB
Tritanopia (blue-blind)
#B076A2
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ba4eff;
/* rgb */ color: rgb(186, 78, 255);
/* oklch */ color: oklch(64.5% 0.253 308.8);
Tailwind
colors: {
  custom: {
    50: '#d488ff',
    500: '#ba4eff',
    950: '#000000',
  },
}
SCSS
$custom: #ba4eff;
$custom-light: #d488ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4eff",
  "rgb": {
    "r": 186,
    "g": 78,
    "b": 255
  },
  "hsl": {
    "h": 276.61,
    "s": 100,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64511,
    "c": 0.25327,
    "h": 308.8
  },
  "luminance": 0.23108
}

Semantic roles & 50–950 ramp

primary
#BA4EFF
secondary
#CEF2B7
accent
#E60059
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C18
muted
#837D86

Preview Lab

Preview with #BA4EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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