#BA46CA#BA46CA

#BA46CA is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.3% C 0.215 H 322.6°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#BA46CA
RGBrgb(186, 70, 202)
HSLhsl(293, 55%, 53%)
HSVhsv(293, 65%, 79%)
CMYKcmyk(7.9%, 65.3%, 0%, 20.8%)
CIE-LABlab(50.79, 63.90, -46.80)
CIE-LCHlch(50.79, 79.20, 323.78°)
OKLaboklab(60.33% 0.1707 -0.1303)
OKLCHoklch(60.33% 0.215 322.6)
XYZxyz(33.0995, 19.0855, 57.8061)
Luminance0.1908 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA46CA #56CA46
analogous
#7846CA #BA46CA #CA4698
triadic
#BA46CA #CABA46 #46CABA
tetradic
#BA46CA #CA7846 #56CA46 #4698CA
square
#BA46CA #CA7846 #56CA46 #4698CA
split-complementary
#BA46CA #98CA46 #46CA78
monochromatic
#6A2174 #962FA4 #BA46CA #CC76D8 #DDA5E5

Accessibility & contrast

On white

4.36
#BA46CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#BA46CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA46CA
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA46CA#FFFFFF#000000##000000
##BA46CA1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2570CE
Deuteranopia (green-blind)
#587DC7
Tritanopia (blue-blind)
#BD5B82
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba46ca;
/* rgb */ color: rgb(186, 70, 202);
/* oklch */ color: oklch(60.3% 0.215 322.6);
Tailwind
colors: {
  custom: {
    50: '#d282db',
    500: '#ba46ca',
    950: '#000000',
  },
}
SCSS
$custom: #ba46ca;
$custom-light: #d282db;
$custom-dark: #000000;
JSON
{
  "hex": "#ba46ca",
  "rgb": {
    "r": 186,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 292.727,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.60331,
    "c": 0.21477,
    "h": 322.6
  },
  "luminance": 0.19084
}

Semantic roles & 50–950 ramp

primary
#BA46CA
secondary
#A0D29A
accent
#DF495B
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83

Preview Lab

Preview with #BA46CA

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

Preview Lab → · Contrast checker → · Palette generator →

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