#BA2CBF#BA2CBF

#BA2CBF is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.4% C 0.235 H 326.6°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#BA2CBF
RGBrgb(186, 44, 191)
HSLhsl(298, 63%, 46%)
HSVhsv(298, 77%, 75%)
CMYKcmyk(2.6%, 77%, 0%, 25.1%)
CIE-LABlab(46.98, 71.05, -46.49)
CIE-LCHlch(46.98, 84.91, 326.80°)
OKLaboklab(57.4% 0.1959 -0.1293)
OKLCHoklch(57.4% 0.235 326.6)
XYZxyz(30.5538, 16.0042, 50.7600)
Luminance0.1600 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2CBF #31BF2C
analogous
#702CBF #BA2CBF #BF2C7A
triadic
#BA2CBF #BFBA2C #2CBFBA
tetradic
#BA2CBF #BF702C #31BF2C #2C7ABF
square
#BA2CBF #BF702C #31BF2C #2C7ABF
split-complementary
#BA2CBF #7ABF2C #2CBF70
monochromatic
#59155C #8A218D #BA2CBF #D251D7 #DF83E2

Accessibility & contrast

On white

5.00
#BA2CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#BA2CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2CBF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2CBF#FFFFFF#000000##FFFFFF
##BA2CBF1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#5175BC
Tritanopia (blue-blind)
#BF4675
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #ba2cbf;
/* rgb */ color: rgb(186, 44, 191);
/* oklch */ color: oklch(57.4% 0.235 326.6);
Tailwind
colors: {
  custom: {
    50: '#d376d3',
    500: '#ba2cbf',
    950: '#000000',
  },
}
SCSS
$custom: #ba2cbf;
$custom-light: #d376d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2cbf",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 191
  },
  "hsl": {
    "h": 297.959,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.57405,
    "c": 0.2347,
    "h": 326.6
  },
  "luminance": 0.16002
}

Semantic roles & 50–950 ramp

primary
#BA2CBF
secondary
#7ECC7B
accent
#E64248
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #BA2CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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