#BA46D1#BA46D1

#BA46D1 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.7% C 0.221 H 320.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#BA46D1
RGBrgb(186, 70, 209)
HSLhsl(290, 60%, 55%)
HSVhsv(290, 67%, 82%)
CMYKcmyk(11%, 66.5%, 0%, 18%)
CIE-LABlab(51.18, 65.18, -50.18)
CIE-LCHlch(51.18, 82.26, 322.41°)
OKLaboklab(60.74% 0.1707 -0.1402)
OKLCHoklch(60.74% 0.221 320.6)
XYZxyz(33.9471, 19.4246, 62.2704)
Luminance0.1942 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA46D1 #5DD146
analogous
#7546D1 #BA46D1 #D146A3
triadic
#BA46D1 #D1BA46 #46D1BA
tetradic
#BA46D1 #D17546 #5DD146 #46A3D1
square
#BA46D1 #D17546 #5DD146 #46A3D1
split-complementary
#BA46D1 #A3D146 #46D175
monochromatic
#6E1F7D #992BAE #BA46D1 #CC77DD #DFA8E9

Accessibility & contrast

On white

4.30
#BA46D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#BA46D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA46D1
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA46D1#FFFFFF#000000##000000
##BA46D11.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1772D5
Deuteranopia (green-blind)
#547ECE
Tritanopia (blue-blind)
#BB5E86
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba46d1;
/* rgb */ color: rgb(186, 70, 209);
/* oklch */ color: oklch(60.7% 0.221 320.6);
Tailwind
colors: {
  custom: {
    50: '#d282e0',
    500: '#ba46d1',
    950: '#000000',
  },
}
SCSS
$custom: #ba46d1;
$custom-light: #d282e0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba46d1",
  "rgb": {
    "r": 186,
    "g": 70,
    "b": 209
  },
  "hsl": {
    "h": 290.072,
    "s": 60.173,
    "l": 54.706
  },
  "oklch": {
    "l": 0.6074,
    "c": 0.22087,
    "h": 320.6
  },
  "luminance": 0.19423
}

Semantic roles & 50–950 ramp

primary
#BA46D1
secondary
#A6D79C
accent
#E3445F
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BA46D1

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

Preview Lab → · Contrast checker → · Palette generator →

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