#BA43CC#BA43CC

#BA43CC is a mid, highly saturated purple. Relative luminance 0.188; OKLCH L 60.1% C 0.220 H 322.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#BA43CC
RGBrgb(186, 67, 204)
HSLhsl(292, 57%, 53%)
HSVhsv(292, 67%, 80%)
CMYKcmyk(8.8%, 67.2%, 0%, 20%)
CIE-LABlab(50.47, 65.46, -48.45)
CIE-LCHlch(50.47, 81.44, 323.49°)
OKLaboklab(60.14% 0.174 -0.1351)
OKLCHoklch(60.14% 0.22 322.2)
XYZxyz(33.1548, 18.8148, 59.0003)
Luminance0.1881 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA43CC #55CC43
analogous
#7543CC #BA43CC #CC4399
triadic
#BA43CC #CCBA43 #43CCBA
tetradic
#BA43CC #CC7543 #55CC43 #4399CC
square
#BA43CC #CC7543 #55CC43 #4399CC
split-complementary
#BA43CC #99CC43 #43CC75
monochromatic
#6A2075 #952DA5 #BA43CC #CC73D9 #DDA3E6

Accessibility & contrast

On white

4.41
#BA43CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#BA43CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA43CC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA43CC#FFFFFF#000000##000000
##BA43CC1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A6FD0
Deuteranopia (green-blind)
#557DC9
Tritanopia (blue-blind)
#BC5A82
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #ba43cc;
/* rgb */ color: rgb(186, 67, 204);
/* oklch */ color: oklch(60.1% 0.220 322.2);
Tailwind
colors: {
  custom: {
    50: '#d280dc',
    500: '#ba43cc',
    950: '#000000',
  },
}
SCSS
$custom: #ba43cc;
$custom-light: #d280dc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba43cc",
  "rgb": {
    "r": 186,
    "g": 67,
    "b": 204
  },
  "hsl": {
    "h": 292.117,
    "s": 57.322,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60138,
    "c": 0.22028,
    "h": 322.2
  },
  "luminance": 0.18813
}

Semantic roles & 50–950 ramp

primary
#BA43CC
secondary
#A0D398
accent
#E1475B
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BA43CC

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

Preview Lab → · Contrast checker → · Palette generator →

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