#BA4DCF#BA4DCF

#BA4DCF is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.4% C 0.210 H 320.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#BA4DCF
RGBrgb(186, 77, 207)
HSLhsl(290, 58%, 56%)
HSVhsv(290, 63%, 81%)
CMYKcmyk(10.1%, 62.8%, 0%, 18.8%)
CIE-LABlab(52.12, 61.88, -47.54)
CIE-LCHlch(52.12, 78.03, 322.47°)
OKLaboklab(61.38% 0.1628 -0.1325)
OKLCHoklch(61.38% 0.21 320.8)
XYZxyz(34.1648, 20.2535, 61.1291)
Luminance0.2025 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4DCF #62CF4D
analogous
#794DCF #BA4DCF #CF4DA3
triadic
#BA4DCF #CFBA4D #4DCFBA
tetradic
#BA4DCF #CF794D #62CF4D #4DA3CF
square
#BA4DCF #CF794D #62CF4D #4DA3CF
split-complementary
#BA4DCF #A3CF4D #4DCF79
monochromatic
#70227F #9B2FAF #BA4DCF #CD7DDC #DFADE9

Accessibility & contrast

On white

4.16
#BA4DCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#BA4DCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4DCF
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4DCF#FFFFFF#000000##000000
##BA4DCF1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C75D3
Deuteranopia (green-blind)
#5A80CC
Tritanopia (blue-blind)
#BB6287
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ba4dcf;
/* rgb */ color: rgb(186, 77, 207);
/* oklch */ color: oklch(61.4% 0.210 320.8);
Tailwind
colors: {
  custom: {
    50: '#d286de',
    500: '#ba4dcf',
    950: '#000000',
  },
}
SCSS
$custom: #ba4dcf;
$custom-light: #d286de;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4dcf",
  "rgb": {
    "r": 186,
    "g": 77,
    "b": 207
  },
  "hsl": {
    "h": 290.308,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61384,
    "c": 0.20992,
    "h": 320.8
  },
  "luminance": 0.20252
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA4DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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