#BA3FC9#BA3FC9

#BA3FC9 is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.6% C 0.223 H 323.2°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#BA3FC9
RGBrgb(186, 63, 201)
HSLhsl(293, 56%, 52%)
HSVhsv(293, 69%, 79%)
CMYKcmyk(7.5%, 68.7%, 0%, 21.2%)
CIE-LABlab(49.75, 66.46, -47.87)
CIE-LCHlch(49.75, 81.91, 324.24°)
OKLaboklab(59.57% 0.1782 -0.1334)
OKLCHoklch(59.57% 0.223 323.2)
XYZxyz(32.5688, 18.2130, 57.0470)
Luminance0.1821 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3FC9 #4EC93F
analogous
#753FC9 #BA3FC9 #C93F93
triadic
#BA3FC9 #C9BA3F #3FC9BA
tetradic
#BA3FC9 #C9753F #4EC93F #3F93C9
square
#BA3FC9 #C9753F #4EC93F #3F93C9
split-complementary
#BA3FC9 #93C93F #3FC975
monochromatic
#661F6F #922D9E #BA3FC9 #CB6FD6 #DC9FE4

Accessibility & contrast

On white

4.52
#BA3FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#BA3FC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA3FC9
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3FC9#FFFFFF#000000##000000
##BA3FC91.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#156DCD
Deuteranopia (green-blind)
#557BC6
Tritanopia (blue-blind)
#BD5680
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #ba3fc9;
/* rgb */ color: rgb(186, 63, 201);
/* oklch */ color: oklch(59.6% 0.223 323.2);
Tailwind
colors: {
  custom: {
    50: '#d27eda',
    500: '#ba3fc9',
    950: '#000000',
  },
}
SCSS
$custom: #ba3fc9;
$custom-light: #d27eda;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3fc9",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 201
  },
  "hsl": {
    "h": 293.478,
    "s": 56.098,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59569,
    "c": 0.22259,
    "h": 323.2
  },
  "luminance": 0.18211
}

Semantic roles & 50–950 ramp

primary
#BA3FC9
secondary
#9AD094
accent
#DF4859
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BA3FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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