#BA4BDC#BA4BDC

#BA4BDC is a mid, highly saturated purple. Relative luminance 0.206; OKLCH L 61.9% C 0.224 H 317.3°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#BA4BDC
RGBrgb(186, 75, 220)
HSLhsl(286, 67%, 58%)
HSVhsv(286, 66%, 86%)
CMYKcmyk(15.5%, 65.9%, 0%, 13.7%)
CIE-LABlab(52.55, 65.21, -54.25)
CIE-LCHlch(52.55, 84.83, 320.24°)
OKLaboklab(61.93% 0.1649 -0.1521)
OKLCHoklch(61.93% 0.224 317.3)
XYZxyz(35.6822, 20.6400, 69.8006)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4BDC #6DDC4B
analogous
#714BDC #BA4BDC #DC4BB5
triadic
#BA4BDC #DCBA4B #4BDCBA
tetradic
#BA4BDC #DC714B #6DDC4B #4BB5DC
square
#BA4BDC #DC714B #6DDC4B #4BB5DC
split-complementary
#BA4BDC #B5DC4B #4BDC71
monochromatic
#751C91 #9F26C4 #BA4BDC #CE7EE6 #E1B1F0

Accessibility & contrast

On white

4.10
#BA4BDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#BA4BDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4BDC
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4BDC#FFFFFF#000000##000000
##BA4BDC1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0776E0
Deuteranopia (green-blind)
#4F81D9
Tritanopia (blue-blind)
#B9668E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ba4bdc;
/* rgb */ color: rgb(186, 75, 220);
/* oklch */ color: oklch(61.9% 0.224 317.3);
Tailwind
colors: {
  custom: {
    50: '#d285e7',
    500: '#ba4bdc',
    950: '#000000',
  },
}
SCSS
$custom: #ba4bdc;
$custom-light: #d285e7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4bdc",
  "rgb": {
    "r": 186,
    "g": 75,
    "b": 220
  },
  "hsl": {
    "h": 285.931,
    "s": 67.442,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61932,
    "c": 0.22436,
    "h": 317.3
  },
  "luminance": 0.20639
}

Semantic roles & 50–950 ramp

primary
#BA4BDC
secondary
#B2DEA4
accent
#EA3D66
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BA4BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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