#BA46D6#BA46D6

#BA46D6 is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 61.0% C 0.225 H 319.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#BA46D6
RGBrgb(186, 70, 214)
HSLhsl(288, 64%, 56%)
HSVhsv(288, 67%, 84%)
CMYKcmyk(13.1%, 67.3%, 0%, 16.1%)
CIE-LABlab(51.47, 66.11, -52.58)
CIE-LCHlch(51.47, 84.47, 321.51°)
OKLaboklab(61.04% 0.1705 -0.1472)
OKLCHoklch(61.04% 0.225 319.2)
XYZxyz(34.5759, 19.6761, 65.5819)
Luminance0.1967 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA46D6 #62D646
analogous
#7246D6 #BA46D6 #D646AA
triadic
#BA46D6 #D6BA46 #46D6BA
tetradic
#BA46D6 #D67246 #62D646 #46AAD6
square
#BA46D6 #D67246 #62D646 #46AAD6
split-complementary
#BA46D6 #AAD646 #46D672
monochromatic
#701D84 #9B28B6 #BA46D6 #CD78E1 #DFAAEC

Accessibility & contrast

On white

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

On black

4.93
#BA46D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA46D6
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA46D6#FFFFFF#000000##000000
##BA46D61.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0573DA
Deuteranopia (green-blind)
#507FD3
Tritanopia (blue-blind)
#BA6089
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ba46d6;
/* rgb */ color: rgb(186, 70, 214);
/* oklch */ color: oklch(61.0% 0.225 319.2);
Tailwind
colors: {
  custom: {
    50: '#d282e3',
    500: '#ba46d6',
    950: '#000000',
  },
}
SCSS
$custom: #ba46d6;
$custom-light: #d282e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba46d6",
  "rgb": {
    "r": 186,
    "g": 70,
    "b": 214
  },
  "hsl": {
    "h": 288.333,
    "s": 63.717,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61041,
    "c": 0.22526,
    "h": 319.2
  },
  "luminance": 0.19674
}

Semantic roles & 50–950 ramp

primary
#BA46D6
secondary
#AADA9E
accent
#E74161
background
#FDF8FE
surface
#FAEFFC
border
#D3CAD5
text
#150B15
muted
#837C84

Preview Lab

Preview with #BA46D6

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

Preview Lab → · Contrast checker → · Palette generator →

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