#BA46BE#BA46BE

#BA46BE is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.7% C 0.205 H 326.4°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#BA46BE
RGBrgb(186, 70, 190)
HSLhsl(298, 48%, 51%)
HSVhsv(298, 63%, 75%)
CMYKcmyk(2.1%, 63.2%, 0%, 25.5%)
CIE-LABlab(50.14, 61.77, -40.89)
CIE-LCHlch(50.14, 74.07, 326.50°)
OKLaboklab(59.66% 0.1704 -0.1132)
OKLCHoklch(59.66% 0.205 326.4)
XYZxyz(31.7335, 18.5391, 50.6122)
Luminance0.1854 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA46BE #4ABE46
analogous
#7E46BE #BA46BE #BE4686
triadic
#BA46BE #BEBA46 #46BEBA
tetradic
#BA46BE #BE7E46 #4ABE46 #4686BE
square
#BA46BE #BE7E46 #4ABE46 #4686BE
split-complementary
#BA46BE #86BE46 #46BE7E
monochromatic
#642466 #903493 #BA46BE #CB73CE #DCA1DE

Accessibility & contrast

On white

4.46
#BA46BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#BA46BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA46BE
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA46BE#FFFFFF#000000##000000
##BA46BE1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#346EC2
Deuteranopia (green-blind)
#5F7CBB
Tritanopia (blue-blind)
#BF577C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba46be;
/* rgb */ color: rgb(186, 70, 190);
/* oklch */ color: oklch(59.7% 0.205 326.4);
Tailwind
colors: {
  custom: {
    50: '#d282d2',
    500: '#ba46be',
    950: '#000000',
  },
}
SCSS
$custom: #ba46be;
$custom-light: #d282d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba46be",
  "rgb": {
    "r": 186,
    "g": 70,
    "b": 190
  },
  "hsl": {
    "h": 298,
    "s": 48,
    "l": 50.98
  },
  "oklch": {
    "l": 0.59657,
    "c": 0.20453,
    "h": 326.4
  },
  "luminance": 0.18537
}

Semantic roles & 50–950 ramp

primary
#BA46BE
secondary
#97CA95
accent
#D85055
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#140B14
muted
#837C82

Preview Lab

Preview with #BA46BE

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

Preview Lab → · Contrast checker → · Palette generator →

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