#BA4CF7#BA4CF7

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

Color values

HEX#BA4CF7
RGBrgb(186, 76, 247)
HSLhsl(279, 91%, 63%)
HSVhsv(279, 69%, 97%)
CMYKcmyk(24.7%, 69.2%, 0%, 3.1%)
CIE-LABlab(54.37, 70.19, -66.51)
CIE-LCHlch(54.37, 96.69, 316.54°)
OKLaboklab(63.77% 0.1618 -0.1881)
OKLCHoklch(63.77% 0.248 310.7)
XYZxyz(39.6194, 22.3243, 90.1996)
Luminance0.2232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4CF7 #89F74C
analogous
#644CF7 #BA4CF7 #F74CDF
triadic
#BA4CF7 #F7BA4C #4CF7BA
tetradic
#BA4CF7 #F7644C #89F74C #4CDFF7
square
#BA4CF7 #F7644C #89F74C #4CDFF7
split-complementary
#BA4CF7 #DFF74C #4CF764
monochromatic
#7F09C0 #A311F4 #BA4CF7 #D187FA #E7C1FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA4CF7#FFFFFF#000000##000000
##BA4CF71.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)
#007DFC
Deuteranopia (green-blind)
#3184F3
Tritanopia (blue-blind)
#B2719D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ba4cf7;
/* rgb */ color: rgb(186, 76, 247);
/* oklch */ color: oklch(63.8% 0.248 310.7);
Tailwind
colors: {
  custom: {
    50: '#d486fb',
    500: '#ba4cf7',
    950: '#000000',
  },
}
SCSS
$custom: #ba4cf7;
$custom-light: #d486fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4cf7",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 247
  },
  "hsl": {
    "h": 278.596,
    "s": 91.444,
    "l": 63.333
  },
  "oklch": {
    "l": 0.63765,
    "c": 0.24807,
    "h": 310.7
  },
  "luminance": 0.22323
}

Semantic roles & 50–950 ramp

primary
#BA4CF7
secondary
#C7EEB1
accent
#E60052
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150C17
muted
#837D85

Preview Lab

Preview with #BA4CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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