#BA2CCF#BA2CCF

#BA2CCF is a mid, highly saturated purple. Relative luminance 0.167; OKLCH L 58.4% C 0.247 H 322.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#BA2CCF
RGBrgb(186, 44, 207)
HSLhsl(292, 65%, 49%)
HSVhsv(292, 79%, 81%)
CMYKcmyk(10.1%, 78.7%, 0%, 18.8%)
CIE-LABlab(47.94, 73.72, -54.22)
CIE-LCHlch(47.94, 91.51, 323.66°)
OKLaboklab(58.39% 0.1946 -0.1519)
OKLCHoklch(58.39% 0.247 322)
XYZxyz(32.4117, 16.7474, 60.5448)
Luminance0.1674 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA2CCF #41CF2C
analogous
#692CCF #BA2CCF #CF2C93
triadic
#BA2CCF #CFBA2C #2CCFBA
tetradic
#BA2CCF #CF692C #41CF2C #2C93CF
square
#BA2CCF #CF692C #41CF2C #2C93CF
split-complementary
#BA2CCF #93CF2C #2CCF69
monochromatic
#5F176A #8D219D #BA2CCF #CC5CDC #DC8EE7

Accessibility & contrast

On white

4.83
#BA2CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#BA2CCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BA2CCF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA2CCF#FFFFFF#000000##FFFFFF
##BA2CCF1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#4577CB
Tritanopia (blue-blind)
#BC4E7E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #ba2ccf;
/* rgb */ color: rgb(186, 44, 207);
/* oklch */ color: oklch(58.4% 0.247 322.0);
Tailwind
colors: {
  custom: {
    50: '#d377de',
    500: '#ba2ccf',
    950: '#000000',
  },
}
SCSS
$custom: #ba2ccf;
$custom-light: #d377de;
$custom-dark: #000000;
JSON
{
  "hex": "#ba2ccf",
  "rgb": {
    "r": 186,
    "g": 44,
    "b": 207
  },
  "hsl": {
    "h": 292.27,
    "s": 64.94,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58392,
    "c": 0.24686,
    "h": 322
  },
  "luminance": 0.16745
}

Semantic roles & 50–950 ramp

primary
#BA2CCF
secondary
#8FD185
accent
#E84056
background
#FDF7FD
surface
#FBEEFB
border
#D4C9D4
text
#150A15
muted
#837C83

Preview Lab

Preview with #BA2CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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