#BA4FCD#BA4FCD

#BA4FCD is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.5% C 0.205 H 321.3°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#BA4FCD
RGBrgb(186, 79, 205)
HSLhsl(291, 56%, 56%)
HSVhsv(291, 61%, 80%)
CMYKcmyk(9.3%, 61.5%, 0%, 19.6%)
CIE-LABlab(52.33, 60.63, -46.06)
CIE-LCHlch(52.33, 76.14, 322.77°)
OKLaboklab(61.5% 0.1604 -0.1283)
OKLCHoklch(61.5% 0.205 321.3)
XYZxyz(34.0639, 20.4405, 59.8969)
Luminance0.2044 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4FCD #62CD4F
analogous
#7B4FCD #BA4FCD #CD4FA1
triadic
#BA4FCD #CDBA4F #4FCDBA
tetradic
#BA4FCD #CD7B4F #62CD4F #4FA1CD
square
#BA4FCD #CD7B4F #62CD4F #4FA1CD
split-complementary
#BA4FCD #A1CD4F #4FCD7B
monochromatic
#70247E #9B31AE #BA4FCD #CD7FDB #DFAEE8

Accessibility & contrast

On white

4.13
#BA4FCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#BA4FCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4FCD
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4FCD#FFFFFF#000000##000000
##BA4FCD1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3275D1
Deuteranopia (green-blind)
#5D81CA
Tritanopia (blue-blind)
#BC6387
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ba4fcd;
/* rgb */ color: rgb(186, 79, 205);
/* oklch */ color: oklch(61.5% 0.205 321.3);
Tailwind
colors: {
  custom: {
    50: '#d287dd',
    500: '#ba4fcd',
    950: '#000000',
  },
}
SCSS
$custom: #ba4fcd;
$custom-light: #d287dd;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4fcd",
  "rgb": {
    "r": 186,
    "g": 79,
    "b": 205
  },
  "hsl": {
    "h": 290.952,
    "s": 55.752,
    "l": 55.686
  },
  "oklch": {
    "l": 0.615,
    "c": 0.20536,
    "h": 321.3
  },
  "luminance": 0.20439
}

Semantic roles & 50–950 ramp

primary
#BA4FCD
secondary
#AAD6A2
accent
#DF495F
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA4FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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