#BA4FF0#BA4FF0

#BA4FF0 is a light, highly saturated violet. Relative luminance 0.223; OKLCH L 63.6% C 0.238 H 312.1°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#BA4FF0
RGBrgb(186, 79, 240)
HSLhsl(280, 84%, 63%)
HSVhsv(280, 67%, 94%)
CMYKcmyk(22.5%, 67.1%, 0%, 5.9%)
CIE-LABlab(54.37, 67.50, -62.60)
CIE-LCHlch(54.37, 92.07, 317.16°)
OKLaboklab(63.62% 0.1594 -0.1766)
OKLCHoklch(63.62% 0.238 312.1)
XYZxyz(38.7710, 22.3234, 84.6876)
Luminance0.2232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4FF0 #85F04F
analogous
#6A4FF0 #BA4FF0 #F04FD5
triadic
#BA4FF0 #F0BA4F #4FF0BA
tetradic
#BA4FF0 #F06A4F #85F04F #4FD5F0
square
#BA4FF0 #F06A4F #85F04F #4FD5F0
split-complementary
#BA4FF0 #D5F04F #4FF06A
monochromatic
#7E0FB5 #A417EB #BA4FF0 #D087F5 #E6C0FA

Accessibility & contrast

On white

3.84
#BA4FF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#BA4FF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4FF0
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4FF0#FFFFFF#000000##000000
##BA4FF01.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF5
Deuteranopia (green-blind)
#3F84EC
Tritanopia (blue-blind)
#B4709A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ba4ff0;
/* rgb */ color: rgb(186, 79, 240);
/* oklch */ color: oklch(63.6% 0.238 312.1);
Tailwind
colors: {
  custom: {
    50: '#d388f6',
    500: '#ba4ff0',
    950: '#000000',
  },
}
SCSS
$custom: #ba4ff0;
$custom-light: #d388f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4ff0",
  "rgb": {
    "r": 186,
    "g": 79,
    "b": 240
  },
  "hsl": {
    "h": 279.876,
    "s": 84.293,
    "l": 62.549
  },
  "oklch": {
    "l": 0.63622,
    "c": 0.23793,
    "h": 312.1
  },
  "luminance": 0.22322
}

Semantic roles & 50–950 ramp

primary
#BA4FF0
secondary
#C4EBB0
accent
#E1054F
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #BA4FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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