#BA46CF#BA46CF

#BA46CF is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.6% C 0.219 H 321.2°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#BA46CF
RGBrgb(186, 70, 207)
HSLhsl(291, 59%, 54%)
HSVhsv(291, 66%, 81%)
CMYKcmyk(10.1%, 66.2%, 0%, 18.8%)
CIE-LABlab(51.07, 64.81, -49.22)
CIE-LCHlch(51.07, 81.38, 322.79°)
OKLaboklab(60.62% 0.1707 -0.1374)
OKLCHoklch(60.62% 0.219 321.2)
XYZxyz(33.7011, 19.3261, 60.9746)
Luminance0.1932 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA46CF #5BCF46
analogous
#7646CF #BA46CF #CF46A0
triadic
#BA46CF #CFBA46 #46CFBA
tetradic
#BA46CF #CF7646 #5BCF46 #46A0CF
square
#BA46CF #CF7646 #5BCF46 #46A0CF
split-complementary
#BA46CF #A0CF46 #46CF76
monochromatic
#6D207B #982CAB #BA46CF #CC77DC #DEA7E8

Accessibility & contrast

On white

4.32
#BA46CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#BA46CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA46CF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA46CF#FFFFFF#000000##000000
##BA46CF1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C71D3
Deuteranopia (green-blind)
#557ECC
Tritanopia (blue-blind)
#BC5D85
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #ba46cf;
/* rgb */ color: rgb(186, 70, 207);
/* oklch */ color: oklch(60.6% 0.219 321.2);
Tailwind
colors: {
  custom: {
    50: '#d282de',
    500: '#ba46cf',
    950: '#000000',
  },
}
SCSS
$custom: #ba46cf;
$custom-light: #d282de;
$custom-dark: #000000;
JSON
{
  "hex": "#ba46cf",
  "rgb": {
    "r": 186,
    "g": 70,
    "b": 207
  },
  "hsl": {
    "h": 290.803,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60622,
    "c": 0.21911,
    "h": 321.2
  },
  "luminance": 0.19324
}

Semantic roles & 50–950 ramp

primary
#BA46CF
secondary
#A4D59B
accent
#E2465E
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BA46CF

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

Preview Lab → · Contrast checker → · Palette generator →

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