#BA3FC8#BA3FC8

#BA3FC8 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.5% C 0.222 H 323.5°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#BA3FC8
RGBrgb(186, 63, 200)
HSLhsl(294, 55%, 52%)
HSVhsv(294, 69%, 78%)
CMYKcmyk(7%, 68.5%, 0%, 21.6%)
CIE-LABlab(49.70, 66.29, -47.38)
CIE-LCHlch(49.70, 81.48, 324.44°)
OKLaboklab(59.51% 0.1782 -0.132)
OKLCHoklch(59.51% 0.222 323.5)
XYZxyz(32.4516, 18.1661, 56.4295)
Luminance0.1816 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3FC8 #4DC83F
analogous
#763FC8 #BA3FC8 #C83F92
triadic
#BA3FC8 #C8BA3F #3FC8BA
tetradic
#BA3FC8 #C8763F #4DC83F #3F92C8
square
#BA3FC8 #C8763F #4DC83F #3F92C8
split-complementary
#BA3FC8 #92C83F #3FC876
monochromatic
#651F6D #912D9D #BA3FC8 #CB6FD6 #DC9EE3

Accessibility & contrast

On white

4.53
#BA3FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#BA3FC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA3FC8
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3FC8#FFFFFF#000000##000000
##BA3FC81.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#176DCC
Deuteranopia (green-blind)
#557BC5
Tritanopia (blue-blind)
#BD567F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba3fc8;
/* rgb */ color: rgb(186, 63, 200);
/* oklch */ color: oklch(59.5% 0.222 323.5);
Tailwind
colors: {
  custom: {
    50: '#d27ed9',
    500: '#ba3fc8',
    950: '#000000',
  },
}
SCSS
$custom: #ba3fc8;
$custom-light: #d27ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3fc8",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 200
  },
  "hsl": {
    "h": 293.869,
    "s": 55.466,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5951,
    "c": 0.22177,
    "h": 323.5
  },
  "luminance": 0.18164
}

Semantic roles & 50–950 ramp

primary
#BA3FC8
secondary
#99D093
accent
#DF4958
background
#FDF8FD
surface
#FAEFFA
border
#D3CAD3
text
#150B15
muted
#837C83

Preview Lab

Preview with #BA3FC8

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

Preview Lab → · Contrast checker → · Palette generator →

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