#BA3BCC#BA3BCC

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

Color values

HEX#BA3BCC
RGBrgb(186, 59, 204)
HSLhsl(293, 59%, 52%)
HSVhsv(293, 71%, 80%)
CMYKcmyk(8.8%, 71.1%, 0%, 20%)
CIE-LABlab(49.41, 68.46, -50.14)
CIE-LCHlch(49.41, 84.86, 323.78°)
OKLaboklab(59.38% 0.1821 -0.14)
OKLCHoklch(59.38% 0.23 322.4)
XYZxyz(32.7116, 17.9285, 58.8526)
Luminance0.1793 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3BCC #4DCC3B
analogous
#723BCC #BA3BCC #CC3B96
triadic
#BA3BCC #CCBA3B #3BCCBA
tetradic
#BA3BCC #CC723B #4DCC3B #3B96CC
square
#BA3BCC #CC723B #4DCC3B #3B96CC
split-complementary
#BA3BCC #96CC3B #3BCC72
monochromatic
#651D70 #912AA0 #BA3BCC #CB6CD9 #DC9CE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA3BCC#FFFFFF#000000##000000
##BA3BCC1.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)
#006CD0
Deuteranopia (green-blind)
#507AC9
Tritanopia (blue-blind)
#BC5580
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #ba3bcc;
/* rgb */ color: rgb(186, 59, 204);
/* oklch */ color: oklch(59.4% 0.230 322.4);
Tailwind
colors: {
  custom: {
    50: '#d37ddc',
    500: '#ba3bcc',
    950: '#000000',
  },
}
SCSS
$custom: #ba3bcc;
$custom-light: #d37ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3bcc",
  "rgb": {
    "r": 186,
    "g": 59,
    "b": 204
  },
  "hsl": {
    "h": 292.552,
    "s": 58.704,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59378,
    "c": 0.22969,
    "h": 322.4
  },
  "luminance": 0.17927
}

Semantic roles & 50–950 ramp

primary
#BA3BCC
secondary
#99D192
accent
#E24659
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BA3BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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