#BA4FBF#BA4FBF

#BA4FBF is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.7% C 0.193 H 325.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#BA4FBF
RGBrgb(186, 79, 191)
HSLhsl(297, 47%, 53%)
HSVhsv(297, 59%, 75%)
CMYKcmyk(2.6%, 58.6%, 0%, 25.1%)
CIE-LABlab(51.60, 58.06, -39.16)
CIE-LCHlch(51.60, 70.03, 326.00°)
OKLaboklab(60.73% 0.1596 -0.1082)
OKLCHoklch(60.73% 0.193 325.9)
XYZxyz(32.4490, 19.7946, 51.3917)
Luminance0.1979 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4FBF #54BF4F
analogous
#824FBF #BA4FBF #BF4F8C
triadic
#BA4FBF #BFBA4F #4FBFBA
tetradic
#BA4FBF #BF824F #54BF4F #4F8CBF
square
#BA4FBF #BF824F #54BF4F #4F8CBF
split-complementary
#BA4FBF #8CBF4F #4FBF82
monochromatic
#69276C #953899 #BA4FBF #CC7CCF #DDA9E0

Accessibility & contrast

On white

4.24
#BA4FBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#BA4FBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4FBF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4FBF#FFFFFF#000000##000000
##BA4FBF1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F72C2
Deuteranopia (green-blind)
#6580BC
Tritanopia (blue-blind)
#BE5E80
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ba4fbf;
/* rgb */ color: rgb(186, 79, 191);
/* oklch */ color: oklch(60.7% 0.193 325.9);
Tailwind
colors: {
  custom: {
    50: '#d286d3',
    500: '#ba4fbf',
    950: '#000000',
  },
}
SCSS
$custom: #ba4fbf;
$custom-light: #d286d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4fbf",
  "rgb": {
    "r": 186,
    "g": 79,
    "b": 191
  },
  "hsl": {
    "h": 297.321,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60735,
    "c": 0.19282,
    "h": 325.9
  },
  "luminance": 0.19793
}

Semantic roles & 50–950 ramp

primary
#BA4FBF
secondary
#9FCD9D
accent
#D65157
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #BA4FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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