#BA46B3#BA46B3

#BA46B3 is a mid, vivid purple. Relative luminance 0.181; OKLCH L 59.1% C 0.195 H 330.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#BA46B3
RGBrgb(186, 70, 179)
HSLhsl(304, 46%, 50%)
HSVhsv(304, 62%, 73%)
CMYKcmyk(0%, 62.4%, 3.8%, 27.1%)
CIE-LABlab(49.59, 59.89, -35.36)
CIE-LCHlch(49.59, 69.55, 329.44°)
OKLaboklab(59.07% 0.1696 -0.0972)
OKLCHoklch(59.07% 0.195 330.2)
XYZxyz(30.5763, 18.0763, 44.5177)
Luminance0.1807 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA46B3 #46BA4D
analogous
#8746BA #BA46B3 #BA4679
triadic
#BA46B3 #B3BA46 #46B3BA
tetradic
#BA46B3 #BA8746 #46BA4D #4679BA
square
#BA46B3 #BA8746 #46BA4D #4679BA
split-complementary
#BA46B3 #79BA46 #46BA87
monochromatic
#61245E #8E3589 #BA46B3 #CB73C5 #DB9FD8

Accessibility & contrast

On white

4.55
#BA46B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#BA46B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA46B3
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA46B3#FFFFFF#000000##000000
##BA46B31.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D6CB6
Deuteranopia (green-blind)
#657CB0
Tritanopia (blue-blind)
#C15276
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba46b3;
/* rgb */ color: rgb(186, 70, 179);
/* oklch */ color: oklch(59.1% 0.195 330.2);
Tailwind
colors: {
  custom: {
    50: '#d281ca',
    500: '#ba46b3',
    950: '#000000',
  },
}
SCSS
$custom: #ba46b3;
$custom-light: #d281ca;
$custom-dark: #000000;
JSON
{
  "hex": "#ba46b3",
  "rgb": {
    "r": 186,
    "g": 70,
    "b": 179
  },
  "hsl": {
    "h": 303.621,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.59074,
    "c": 0.19546,
    "h": 330.2
  },
  "luminance": 0.18074
}

Semantic roles & 50–950 ramp

primary
#BA46B3
secondary
#94C897
accent
#D55A52
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82

Preview Lab

Preview with #BA46B3

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

Preview Lab → · Contrast checker → · Palette generator →

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