#BA3FC7#BA3FC7

#BA3FC7 is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.5% C 0.221 H 323.8°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#BA3FC7
RGBrgb(186, 63, 199)
HSLhsl(294, 55%, 51%)
HSVhsv(294, 68%, 78%)
CMYKcmyk(6.5%, 68.3%, 0%, 22%)
CIE-LABlab(49.64, 66.11, -46.89)
CIE-LCHlch(49.64, 81.05, 324.65°)
OKLaboklab(59.45% 0.1782 -0.1306)
OKLCHoklch(59.45% 0.221 323.8)
XYZxyz(32.3351, 18.1196, 55.8160)
Luminance0.1812 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3FC7 #4CC73F
analogous
#763FC7 #BA3FC7 #C73F90
triadic
#BA3FC7 #C7BA3F #3FC7BA
tetradic
#BA3FC7 #C7763F #4CC73F #3F90C7
square
#BA3FC7 #C7763F #4CC73F #3F90C7
split-complementary
#BA3FC7 #90C73F #3FC776
monochromatic
#65206C #912D9B #BA3FC7 #CB6ED5 #DC9EE3

Accessibility & contrast

On white

4.54
#BA3FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#BA3FC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA3FC7
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3FC7#FFFFFF#000000##000000
##BA3FC71.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A6DCB
Deuteranopia (green-blind)
#567BC4
Tritanopia (blue-blind)
#BD567E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba3fc7;
/* rgb */ color: rgb(186, 63, 199);
/* oklch */ color: oklch(59.5% 0.221 323.8);
Tailwind
colors: {
  custom: {
    50: '#d27ed8',
    500: '#ba3fc7',
    950: '#000000',
  },
}
SCSS
$custom: #ba3fc7;
$custom-light: #d27ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3fc7",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 199
  },
  "hsl": {
    "h": 294.265,
    "s": 54.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.59452,
    "c": 0.22093,
    "h": 323.8
  },
  "luminance": 0.18118
}

Semantic roles & 50–950 ramp

primary
#BA3FC7
secondary
#99CF93
accent
#DE4A58
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #BA3FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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