#BA3FCC#BA3FCC

#BA3FCC is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.7% C 0.225 H 322.3°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#BA3FCC
RGBrgb(186, 63, 204)
HSLhsl(292, 58%, 52%)
HSVhsv(292, 69%, 80%)
CMYKcmyk(8.8%, 69.1%, 0%, 20%)
CIE-LABlab(49.92, 67.00, -49.32)
CIE-LCHlch(49.92, 83.19, 323.64°)
OKLaboklab(59.75% 0.1781 -0.1376)
OKLCHoklch(59.75% 0.225 322.3)
XYZxyz(32.9252, 18.3556, 58.9238)
Luminance0.1835 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3FCC #51CC3F
analogous
#733FCC #BA3FCC #CC3F98
triadic
#BA3FCC #CCBA3F #3FCCBA
tetradic
#BA3FCC #CC733F #51CC3F #3F98CC
square
#BA3FCC #CC733F #51CC3F #3F98CC
split-complementary
#BA3FCC #98CC3F #3FCC73
monochromatic
#681E72 #932BA3 #BA3FCC #CB6FD9 #DDA0E6

Accessibility & contrast

On white

4.50
#BA3FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#BA3FCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA3FCC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3FCC#FFFFFF#000000##000000
##BA3FCC1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B6ED0
Deuteranopia (green-blind)
#537BC9
Tritanopia (blue-blind)
#BC5881
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba3fcc;
/* rgb */ color: rgb(186, 63, 204);
/* oklch */ color: oklch(59.7% 0.225 322.3);
Tailwind
colors: {
  custom: {
    50: '#d27edc',
    500: '#ba3fcc',
    950: '#000000',
  },
}
SCSS
$custom: #ba3fcc;
$custom-light: #d27edc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3fcc",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 204
  },
  "hsl": {
    "h": 292.34,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59747,
    "c": 0.22511,
    "h": 322.3
  },
  "luminance": 0.18354
}

Semantic roles & 50–950 ramp

primary
#BA3FCC
secondary
#9DD295
accent
#E1475A
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BA3FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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