#BA3FCF#BA3FCF

#BA3FCF is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.9% C 0.228 H 321.4°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#BA3FCF
RGBrgb(186, 63, 207)
HSLhsl(291, 60%, 53%)
HSVhsv(291, 70%, 81%)
CMYKcmyk(10.1%, 69.6%, 0%, 18.8%)
CIE-LABlab(50.10, 67.54, -50.77)
CIE-LCHlch(50.10, 84.49, 323.07°)
OKLaboklab(59.93% 0.178 -0.1419)
OKLCHoklch(59.93% 0.228 321.4)
XYZxyz(33.2884, 18.5009, 60.8370)
Luminance0.1850 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3FCF #54CF3F
analogous
#723FCF #BA3FCF #CF3F9C
triadic
#BA3FCF #CFBA3F #3FCFBA
tetradic
#BA3FCF #CF723F #54CF3F #3F9CCF
square
#BA3FCF #CF723F #54CF3F #3F9CCF
split-complementary
#BA3FCF #9CCF3F #3FCF72
monochromatic
#691E76 #952AA7 #BA3FCF #CC70DB #DDA1E7

Accessibility & contrast

On white

4.47
#BA3FCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#BA3FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA3FCF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3FCF#FFFFFF#000000##000000
##BA3FCF1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#507CCC
Tritanopia (blue-blind)
#BC5983
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #ba3fcf;
/* rgb */ color: rgb(186, 63, 207);
/* oklch */ color: oklch(59.9% 0.228 321.4);
Tailwind
colors: {
  custom: {
    50: '#d37fde',
    500: '#ba3fcf',
    950: '#000000',
  },
}
SCSS
$custom: #ba3fcf;
$custom-light: #d37fde;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3fcf",
  "rgb": {
    "r": 186,
    "g": 63,
    "b": 207
  },
  "hsl": {
    "h": 291.25,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59927,
    "c": 0.22763,
    "h": 321.4
  },
  "luminance": 0.18499
}

Semantic roles & 50–950 ramp

primary
#BA3FCF
secondary
#9FD496
accent
#E3455C
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #BA3FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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