#BA50BF#BA50BF

#BA50BF is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.9% C 0.191 H 325.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#BA50BF
RGBrgb(186, 80, 191)
HSLhsl(297, 46%, 53%)
HSVhsv(297, 58%, 75%)
CMYKcmyk(2.6%, 58.1%, 0%, 25.1%)
CIE-LABlab(51.77, 57.61, -38.90)
CIE-LCHlch(51.77, 69.51, 325.97°)
OKLaboklab(60.86% 0.1583 -0.1075)
OKLCHoklch(60.86% 0.191 325.8)
XYZxyz(32.5217, 19.9399, 51.4159)
Luminance0.1994 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA50BF #55BF50
analogous
#8250BF #BA50BF #BF508C
triadic
#BA50BF #BFBA50 #50BFBA
tetradic
#BA50BF #BF8250 #55BF50 #508CBF
square
#BA50BF #BF8250 #55BF50 #508CBF
split-complementary
#BA50BF #8CBF50 #50BF82
monochromatic
#6A286D #95389A #BA50BF #CC7DCF #DDAAE0

Accessibility & contrast

On white

4.21
#BA50BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#BA50BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA50BF
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA50BF#FFFFFF#000000##000000
##BA50BF1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba50bf;
/* rgb */ color: rgb(186, 80, 191);
/* oklch */ color: oklch(60.9% 0.191 325.8);
Tailwind
colors: {
  custom: {
    50: '#d187d3',
    500: '#ba50bf',
    950: '#000000',
  },
}
SCSS
$custom: #ba50bf;
$custom-light: #d187d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba50bf",
  "rgb": {
    "r": 186,
    "g": 80,
    "b": 191
  },
  "hsl": {
    "h": 297.297,
    "s": 46.444,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60856,
    "c": 0.19136,
    "h": 325.8
  },
  "luminance": 0.19938
}

Semantic roles & 50–950 ramp

primary
#BA50BF
secondary
#A0CD9D
accent
#D65258
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BA50BF

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

Preview Lab → · Contrast checker → · Palette generator →

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