#BA50CE#BA50CE

#BA50CE is a mid, highly saturated purple. Relative luminance 0.206; OKLCH L 61.7% C 0.205 H 321.0°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#BA50CE
RGBrgb(186, 80, 206)
HSLhsl(290, 56%, 56%)
HSVhsv(290, 61%, 81%)
CMYKcmyk(9.7%, 61.2%, 0%, 19.2%)
CIE-LABlab(52.55, 60.37, -46.29)
CIE-LCHlch(52.55, 76.08, 322.52°)
OKLaboklab(61.67% 0.1592 -0.1289)
OKLCHoklch(61.67% 0.205 321)
XYZxyz(34.2577, 20.6343, 60.5589)
Luminance0.2063 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA50CE #64CE50
analogous
#7B50CE #BA50CE #CE50A3
triadic
#BA50CE #CEBA50 #50CEBA
tetradic
#BA50CE #CE7B50 #64CE50 #50A3CE
square
#BA50CE #CE7B50 #64CE50 #50A3CE
split-complementary
#BA50CE #A3CE50 #50CE7B
monochromatic
#712480 #9C31B0 #BA50CE #CD80DB #E0B0E9

Accessibility & contrast

On white

4.10
#BA50CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#BA50CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA50CE
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA50CE#FFFFFF#000000##000000
##BA50CE1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3376D2
Deuteranopia (green-blind)
#5D81CB
Tritanopia (blue-blind)
#BC6488
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ba50ce;
/* rgb */ color: rgb(186, 80, 206);
/* oklch */ color: oklch(61.7% 0.205 321.0);
Tailwind
colors: {
  custom: {
    50: '#d287dd',
    500: '#ba50ce',
    950: '#000000',
  },
}
SCSS
$custom: #ba50ce;
$custom-light: #d287dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba50ce",
  "rgb": {
    "r": 186,
    "g": 80,
    "b": 206
  },
  "hsl": {
    "h": 290.476,
    "s": 56.25,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61674,
    "c": 0.20487,
    "h": 321
  },
  "luminance": 0.20633
}

Semantic roles & 50–950 ramp

primary
#BA50CE
secondary
#ABD7A3
accent
#E04860
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA50CE

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

Preview Lab → · Contrast checker → · Palette generator →

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