#BA4DFF#BA4DFF

#BA4DFF is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 64.4% C 0.254 H 308.9°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#BA4DFF
RGBrgb(186, 77, 255)
HSLhsl(277, 100%, 65%)
HSVhsv(277, 70%, 100%)
CMYKcmyk(27.1%, 69.8%, 0%, 0%)
CIE-LABlab(55.04, 71.43, -69.87)
CIE-LCHlch(55.04, 99.92, 315.63°)
OKLaboklab(64.41% 0.1598 -0.198)
OKLCHoklch(64.41% 0.254 308.9)
XYZxyz(40.9499, 22.9676, 96.8643)
Luminance0.2297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4DFF #92FF4D
analogous
#614DFF #BA4DFF #FF4DEB
triadic
#BA4DFF #FFBA4D #4DFFBA
tetradic
#BA4DFF #FF614D #92FF4D #4DEBFF
square
#BA4DFF #FF614D #92FF4D #4DEBFF
split-complementary
#BA4DFF #EBFF4D #4DFF61
monochromatic
#8000D2 #A210FF #BA4DFF #D28AFF #E9C7FF

Accessibility & contrast

On white

3.75
#BA4DFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#BA4DFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4DFF
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4DFF#FFFFFF#000000##000000
##BA4DFF1.003.755.595.59
#FFFFFF3.751.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#2285FB
Tritanopia (blue-blind)
#B075A1
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #ba4dff;
/* rgb */ color: rgb(186, 77, 255);
/* oklch */ color: oklch(64.4% 0.254 308.9);
Tailwind
colors: {
  custom: {
    50: '#d487ff',
    500: '#ba4dff',
    950: '#000000',
  },
}
SCSS
$custom: #ba4dff;
$custom-light: #d487ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4dff",
  "rgb": {
    "r": 186,
    "g": 77,
    "b": 255
  },
  "hsl": {
    "h": 276.742,
    "s": 100,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64408,
    "c": 0.25441,
    "h": 308.9
  },
  "luminance": 0.22967
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA4DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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