#BA46BA#BA46BA

#BA46BA is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.4% C 0.201 H 327.7°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#BA46BA
RGBrgb(186, 70, 186)
HSLhsl(300, 46%, 50%)
HSVhsv(300, 62%, 73%)
CMYKcmyk(0%, 62.4%, 0%, 27.1%)
CIE-LABlab(49.94, 61.07, -38.89)
CIE-LCHlch(49.94, 72.40, 327.51°)
OKLaboklab(59.44% 0.1701 -0.1074)
OKLCHoklch(59.44% 0.201 327.7)
XYZxyz(31.3023, 18.3667, 48.3413)
Luminance0.1837 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA46BA #46BA46
analogous
#8046BA #BA46BA #BA4680
triadic
#BA46BA #BABA46 #46BABA
tetradic
#BA46BA #BA8046 #46BA46 #4680BA
square
#BA46BA #BA8046 #46BA46 #4680BA
split-complementary
#BA46BA #80BA46 #46BA80
monochromatic
#612461 #8E358E #BA46BA #CB73CB #DB9FDB

Accessibility & contrast

On white

4.49
#BA46BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#BA46BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA46BA
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA46BA#FFFFFF#000000##000000
##BA46BA1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#376DBD
Deuteranopia (green-blind)
#627CB7
Tritanopia (blue-blind)
#BF557A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba46ba;
/* rgb */ color: rgb(186, 70, 186);
/* oklch */ color: oklch(59.4% 0.201 327.7);
Tailwind
colors: {
  custom: {
    50: '#d281cf',
    500: '#ba46ba',
    950: '#000000',
  },
}
SCSS
$custom: #ba46ba;
$custom-light: #d281cf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba46ba",
  "rgb": {
    "r": 186,
    "g": 70,
    "b": 186
  },
  "hsl": {
    "h": 300,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.59442,
    "c": 0.20119,
    "h": 327.7
  },
  "luminance": 0.18365
}

Semantic roles & 50–950 ramp

primary
#BA46BA
secondary
#94C894
accent
#D55252
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #BA46BA

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

Preview Lab → · Contrast checker → · Palette generator →

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