#BA46D5#BA46D5

#BA46D5 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 61.0% C 0.224 H 319.5°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#BA46D5
RGBrgb(186, 70, 213)
HSLhsl(289, 63%, 55%)
HSVhsv(289, 67%, 84%)
CMYKcmyk(12.7%, 67.1%, 0%, 16.5%)
CIE-LABlab(51.41, 65.93, -52.10)
CIE-LCHlch(51.41, 84.03, 321.68°)
OKLaboklab(60.98% 0.1705 -0.1458)
OKLCHoklch(60.98% 0.224 319.5)
XYZxyz(34.4486, 19.6251, 64.9114)
Luminance0.1962 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA46D5 #61D546
analogous
#7246D5 #BA46D5 #D546A9
triadic
#BA46D5 #D5BA46 #46D5BA
tetradic
#BA46D5 #D57246 #61D546 #46A9D5
square
#BA46D5 #D57246 #61D546 #46A9D5
split-complementary
#BA46D5 #A9D546 #46D572
monochromatic
#701E83 #9A29B5 #BA46D5 #CD78E0 #DFAAEC

Accessibility & contrast

On white

4.26
#BA46D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#BA46D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA46D5
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA46D5#FFFFFF#000000##000000
##BA46D51.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A73D9
Deuteranopia (green-blind)
#517ED2
Tritanopia (blue-blind)
#BA6088
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba46d5;
/* rgb */ color: rgb(186, 70, 213);
/* oklch */ color: oklch(61.0% 0.224 319.5);
Tailwind
colors: {
  custom: {
    50: '#d282e2',
    500: '#ba46d5',
    950: '#000000',
  },
}
SCSS
$custom: #ba46d5;
$custom-light: #d282e2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba46d5",
  "rgb": {
    "r": 186,
    "g": 70,
    "b": 213
  },
  "hsl": {
    "h": 288.671,
    "s": 62.996,
    "l": 55.49
  },
  "oklch": {
    "l": 0.6098,
    "c": 0.22438,
    "h": 319.5
  },
  "luminance": 0.19624
}

Semantic roles & 50–950 ramp

primary
#BA46D5
secondary
#A9D99E
accent
#E64261
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BA46D5

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

Preview Lab → · Contrast checker → · Palette generator →

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