#BA50C3#BA50C3

#BA50C3 is a mid, vivid purple. Relative luminance 0.201; OKLCH L 61.1% C 0.195 H 324.5°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#BA50C3
RGBrgb(186, 80, 195)
HSLhsl(295, 49%, 54%)
HSVhsv(295, 59%, 76%)
CMYKcmyk(4.6%, 59%, 0%, 23.5%)
CIE-LABlab(51.97, 58.33, -40.89)
CIE-LCHlch(51.97, 71.23, 324.97°)
OKLaboklab(61.07% 0.1586 -0.1132)
OKLCHoklch(61.07% 0.195 324.5)
XYZxyz(32.9679, 20.1184, 53.7659)
Luminance0.2012 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA50C3 #59C350
analogous
#8150C3 #BA50C3 #C35093
triadic
#BA50C3 #C3BA50 #50C3BA
tetradic
#BA50C3 #C38150 #59C350 #5093C3
square
#BA50C3 #C38150 #59C350 #5093C3
split-complementary
#BA50C3 #93C350 #50C381
monochromatic
#6C2772 #97379F #BA50C3 #CC7ED3 #DEABE2

Accessibility & contrast

On white

4.18
#BA50C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#BA50C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA50C3
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA50C3#FFFFFF#000000##000000
##BA50C31.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D74C7
Deuteranopia (green-blind)
#6380C0
Tritanopia (blue-blind)
#BE6082
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ba50c3;
/* rgb */ color: rgb(186, 80, 195);
/* oklch */ color: oklch(61.1% 0.195 324.5);
Tailwind
colors: {
  custom: {
    50: '#d287d5',
    500: '#ba50c3',
    950: '#000000',
  },
}
SCSS
$custom: #ba50c3;
$custom-light: #d287d5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba50c3",
  "rgb": {
    "r": 186,
    "g": 80,
    "b": 195
  },
  "hsl": {
    "h": 295.304,
    "s": 48.936,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61068,
    "c": 0.19492,
    "h": 324.5
  },
  "luminance": 0.20117
}

Semantic roles & 50–950 ramp

primary
#BA50C3
secondary
#A3D09F
accent
#D84F5A
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #BA50C3

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

Preview Lab → · Contrast checker → · Palette generator →

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