#BA4CCF#BA4CCF

#BA4CCF is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.3% C 0.211 H 320.9°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#BA4CCF
RGBrgb(186, 76, 207)
HSLhsl(290, 58%, 55%)
HSVhsv(290, 63%, 81%)
CMYKcmyk(10.1%, 63.3%, 0%, 18.8%)
CIE-LABlab(51.97, 62.31, -47.79)
CIE-LCHlch(51.97, 78.52, 322.51°)
OKLaboklab(61.27% 0.1639 -0.1333)
OKLCHoklch(61.27% 0.211 320.9)
XYZxyz(34.0953, 20.1147, 61.1060)
Luminance0.2011 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4CCF #61CF4C
analogous
#794CCF #BA4CCF #CF4CA2
triadic
#BA4CCF #CFBA4C #4CCFBA
tetradic
#BA4CCF #CF794C #61CF4C #4CA2CF
square
#BA4CCF #CF794C #61CF4C #4CA2CF
split-complementary
#BA4CCF #A2CF4C #4CCF79
monochromatic
#70227F #9A2FAF #BA4CCF #CD7CDC #DFADE9

Accessibility & contrast

On white

4.18
#BA4CCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#BA4CCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4CCF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4CCF#FFFFFF#000000##000000
##BA4CCF1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A74D3
Deuteranopia (green-blind)
#5980CC
Tritanopia (blue-blind)
#BB6287
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ba4ccf;
/* rgb */ color: rgb(186, 76, 207);
/* oklch */ color: oklch(61.3% 0.211 320.9);
Tailwind
colors: {
  custom: {
    50: '#d285de',
    500: '#ba4ccf',
    950: '#000000',
  },
}
SCSS
$custom: #ba4ccf;
$custom-light: #d285de;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4ccf",
  "rgb": {
    "r": 186,
    "g": 76,
    "b": 207
  },
  "hsl": {
    "h": 290.382,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61271,
    "c": 0.21127,
    "h": 320.9
  },
  "luminance": 0.20113
}

Semantic roles & 50–950 ramp

primary
#BA4CCF
secondary
#A9D7A0
accent
#E14760
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA4CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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