#BA46C8#BA46C8

#BA46C8 is a mid, highly saturated purple. Relative luminance 0.190; OKLCH L 60.2% C 0.213 H 323.2°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#BA46C8
RGBrgb(186, 70, 200)
HSLhsl(294, 54%, 53%)
HSVhsv(294, 65%, 78%)
CMYKcmyk(7%, 65%, 0%, 21.6%)
CIE-LABlab(50.68, 63.54, -45.82)
CIE-LCHlch(50.68, 78.34, 324.20°)
OKLaboklab(60.22% 0.1707 -0.1275)
OKLCHoklch(60.22% 0.213 323.2)
XYZxyz(32.8642, 18.9914, 56.5670)
Luminance0.1899 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA46C8 #54C846
analogous
#7946C8 #BA46C8 #C84695
triadic
#BA46C8 #C8BA46 #46C8BA
tetradic
#BA46C8 #C87946 #54C846 #4695C8
square
#BA46C8 #C87946 #54C846 #4695C8
split-complementary
#BA46C8 #95C846 #46C879
monochromatic
#692272 #9530A1 #BA46C8 #CC75D6 #DDA4E4

Accessibility & contrast

On white

4.38
#BA46C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#BA46C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA46C8
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA46C8#FFFFFF#000000##000000
##BA46C81.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2870CC
Deuteranopia (green-blind)
#5A7DC5
Tritanopia (blue-blind)
#BD5B81
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba46c8;
/* rgb */ color: rgb(186, 70, 200);
/* oklch */ color: oklch(60.2% 0.213 323.2);
Tailwind
colors: {
  custom: {
    50: '#d282d9',
    500: '#ba46c8',
    950: '#000000',
  },
}
SCSS
$custom: #ba46c8;
$custom-light: #d282d9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba46c8",
  "rgb": {
    "r": 186,
    "g": 70,
    "b": 200
  },
  "hsl": {
    "h": 293.538,
    "s": 54.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60216,
    "c": 0.21305,
    "h": 323.2
  },
  "luminance": 0.1899
}

Semantic roles & 50–950 ramp

primary
#BA46C8
secondary
#9FD199
accent
#DE4A5A
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#140B15
muted
#837C83

Preview Lab

Preview with #BA46C8

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

Preview Lab → · Contrast checker → · Palette generator →

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