#BA46CB#BA46CB

#BA46CB is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.4% C 0.216 H 322.3°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#BA46CB
RGBrgb(186, 70, 203)
HSLhsl(292, 56%, 54%)
HSVhsv(292, 66%, 80%)
CMYKcmyk(8.4%, 65.5%, 0%, 20.4%)
CIE-LABlab(50.84, 64.08, -47.28)
CIE-LCHlch(50.84, 79.64, 323.58°)
OKLaboklab(60.39% 0.1707 -0.1317)
OKLCHoklch(60.39% 0.216 322.3)
XYZxyz(33.2182, 19.1330, 58.4317)
Luminance0.1913 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA46CB #57CB46
analogous
#7746CB #BA46CB #CB4699
triadic
#BA46CB #CBBA46 #46CBBA
tetradic
#BA46CB #CB7746 #57CB46 #4699CB
square
#BA46CB #CB7746 #57CB46 #4699CB
split-complementary
#BA46CB #99CB46 #46CB77
monochromatic
#6B2176 #962EA5 #BA46CB #CC76D8 #DEA6E6

Accessibility & contrast

On white

4.35
#BA46CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#BA46CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA46CB
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA46CB#FFFFFF#000000##000000
##BA46CB1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2371CF
Deuteranopia (green-blind)
#587EC8
Tritanopia (blue-blind)
#BC5C83
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba46cb;
/* rgb */ color: rgb(186, 70, 203);
/* oklch */ color: oklch(60.4% 0.216 322.3);
Tailwind
colors: {
  custom: {
    50: '#d282db',
    500: '#ba46cb',
    950: '#000000',
  },
}
SCSS
$custom: #ba46cb;
$custom-light: #d282db;
$custom-dark: #000000;
JSON
{
  "hex": "#ba46cb",
  "rgb": {
    "r": 186,
    "g": 70,
    "b": 203
  },
  "hsl": {
    "h": 292.331,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60388,
    "c": 0.21564,
    "h": 322.3
  },
  "luminance": 0.19131
}

Semantic roles & 50–950 ramp

primary
#BA46CB
secondary
#A1D39A
accent
#DF485C
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #BA46CB

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

Preview Lab → · Contrast checker → · Palette generator →

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