#BA3FC3#BA3FC3

#BA3FC3 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.2% C 0.218 H 325.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#BA3FC3
RGBrgb(186, 63, 195)
HSLhsl(296, 52%, 51%)
HSVhsv(296, 68%, 76%)
CMYKcmyk(4.6%, 67.7%, 0%, 23.5%)
CIE-LABlab(49.42, 65.41, -44.93)
CIE-LCHlch(49.42, 79.36, 325.51°)
OKLaboklab(59.22% 0.1782 -0.1249)
OKLCHoklch(59.22% 0.218 325)
XYZxyz(31.8768, 17.9362, 53.4022)
Luminance0.1793 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3FC3 #48C33F
analogous
#783FC3 #BA3FC3 #C33F8A
triadic
#BA3FC3 #C3BA3F #3FC3BA
tetradic
#BA3FC3 #C3783F #48C33F #3F8AC3
square
#BA3FC3 #C3783F #48C33F #3F8AC3
split-complementary
#BA3FC3 #8AC33F #3FC378
monochromatic
#622067 #8F2F96 #BA3FC3 #CB6ED2 #DC9CE0

Accessibility & contrast

On white

4.58
#BA3FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#BA3FC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA3FC3
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3FC3#FFFFFF#000000##000000
##BA3FC31.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#216CC7
Deuteranopia (green-blind)
#587BC0
Tritanopia (blue-blind)
#BE547C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba3fc3;
/* rgb */ color: rgb(186, 63, 195);
/* oklch */ color: oklch(59.2% 0.218 325.0);
Tailwind
colors: {
  custom: {
    50: '#d27ed6',
    500: '#ba3fc3',
    950: '#000000',
  },
}
SCSS
$custom: #ba3fc3;
$custom-light: #d27ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3fc3",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 195
  },
  "hsl": {
    "h": 295.909,
    "s": 52.381,
    "l": 50.588
  },
  "oklch": {
    "l": 0.59221,
    "c": 0.21762,
    "h": 325
  },
  "luminance": 0.17934
}

Semantic roles & 50–950 ramp

primary
#BA3FC3
secondary
#96CC92
accent
#DC4C56
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BA3FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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