#BA4CBF#BA4CBF

#BA4CBF is a mid, vivid purple. Relative luminance 0.194; OKLCH L 60.4% C 0.197 H 325.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#BA4CBF
RGBrgb(186, 76, 191)
HSLhsl(297, 47%, 52%)
HSVhsv(297, 60%, 75%)
CMYKcmyk(2.6%, 60.2%, 0%, 25.1%)
CIE-LABlab(51.12, 59.39, -39.92)
CIE-LCHlch(51.12, 71.56, 326.09°)
OKLaboklab(60.38% 0.1633 -0.1104)
OKLCHoklch(60.38% 0.197 325.9)
XYZxyz(32.2375, 19.3715, 51.3212)
Luminance0.1937 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4CBF #51BF4C
analogous
#804CBF #BA4CBF #BF4C8B
triadic
#BA4CBF #BFBA4C #4CBFBA
tetradic
#BA4CBF #BF804C #51BF4C #4C8BBF
square
#BA4CBF #BF804C #51BF4C #4C8BBF
split-complementary
#BA4CBF #8BBF4C #4CBF80
monochromatic
#68266B #933698 #BA4CBF #CB79CF #DDA6DF

Accessibility & contrast

On white

4.31
#BA4CBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#BA4CBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4CBF
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4CBF#FFFFFF#000000##000000
##BA4CBF1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B71C3
Deuteranopia (green-blind)
#637FBC
Tritanopia (blue-blind)
#BE5B7F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba4cbf;
/* rgb */ color: rgb(186, 76, 191);
/* oklch */ color: oklch(60.4% 0.197 325.9);
Tailwind
colors: {
  custom: {
    50: '#d285d3',
    500: '#ba4cbf',
    950: '#000000',
  },
}
SCSS
$custom: #ba4cbf;
$custom-light: #d285d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4cbf",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 191
  },
  "hsl": {
    "h": 297.391,
    "s": 47.325,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60382,
    "c": 0.19712,
    "h": 325.9
  },
  "luminance": 0.1937
}

Semantic roles & 50–950 ramp

primary
#BA4CBF
secondary
#9DCC9A
accent
#D75157
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140B14
muted
#837C83

Preview Lab

Preview with #BA4CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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