#BA4CCE#BA4CCE

#BA4CCE is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.2% C 0.210 H 321.2°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#BA4CCE
RGBrgb(186, 76, 206)
HSLhsl(291, 57%, 55%)
HSVhsv(291, 63%, 81%)
CMYKcmyk(9.7%, 63.1%, 0%, 19.2%)
CIE-LABlab(51.91, 62.12, -47.30)
CIE-LCHlch(51.91, 78.08, 322.71°)
OKLaboklab(61.21% 0.1639 -0.1318)
OKLCHoklch(61.21% 0.21 321.2)
XYZxyz(33.9735, 20.0659, 60.4642)
Luminance0.2006 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4CCE #60CE4C
analogous
#794CCE #BA4CCE #CE4CA1
triadic
#BA4CCE #CEBA4C #4CCEBA
tetradic
#BA4CCE #CE794C #60CE4C #4CA1CE
square
#BA4CCE #CE794C #60CE4C #4CA1CE
split-complementary
#BA4CCE #A1CE4C #4CCE79
monochromatic
#6F227D #9A2FAD #BA4CCE #CD7CDB #DFACE8

Accessibility & contrast

On white

4.19
#BA4CCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#BA4CCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4CCE
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4CCE#FFFFFF#000000##000000
##BA4CCE1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B74D2
Deuteranopia (green-blind)
#5A80CB
Tritanopia (blue-blind)
#BC6186
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ba4cce;
/* rgb */ color: rgb(186, 76, 206);
/* oklch */ color: oklch(61.2% 0.210 321.2);
Tailwind
colors: {
  custom: {
    50: '#d285dd',
    500: '#ba4cce',
    950: '#000000',
  },
}
SCSS
$custom: #ba4cce;
$custom-light: #d285dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4cce",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 206
  },
  "hsl": {
    "h": 290.769,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61214,
    "c": 0.21037,
    "h": 321.2
  },
  "luminance": 0.20064
}

Semantic roles & 50–950 ramp

primary
#BA4CCE
secondary
#A8D6A0
accent
#E0485F
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA4CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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