#BA4FDA#BA4FDA

#BA4FDA is a light, highly saturated purple. Relative luminance 0.211; OKLCH L 62.3% C 0.217 H 317.6°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#BA4FDA
RGBrgb(186, 79, 218)
HSLhsl(286, 65%, 58%)
HSVhsv(286, 64%, 85%)
CMYKcmyk(14.7%, 63.8%, 0%, 14.5%)
CIE-LABlab(53.05, 63.11, -52.32)
CIE-LCHlch(53.05, 81.98, 320.34°)
OKLaboklab(62.26% 0.1605 -0.1465)
OKLCHoklch(62.26% 0.217 317.6)
XYZxyz(35.6988, 21.0945, 68.5073)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4FDA #6FDA4F
analogous
#744FDA #BA4FDA #DA4FB4
triadic
#BA4FDA #DABA4F #4FDABA
tetradic
#BA4FDA #DA744F #6FDA4F #4FB4DA
square
#BA4FDA #DA744F #6FDA4F #4FB4DA
split-complementary
#BA4FDA #B4DA4F #4FDA74
monochromatic
#761E90 #9F29C3 #BA4FDA #CE82E5 #E2B4EF

Accessibility & contrast

On white

4.02
#BA4FDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#BA4FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4FDA
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4FDA#FFFFFF#000000##000000
##BA4FDA1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F78DE
Deuteranopia (green-blind)
#5482D7
Tritanopia (blue-blind)
#B9688E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ba4fda;
/* rgb */ color: rgb(186, 79, 218);
/* oklch */ color: oklch(62.3% 0.217 317.6);
Tailwind
colors: {
  custom: {
    50: '#d287e6',
    500: '#ba4fda',
    950: '#000000',
  },
}
SCSS
$custom: #ba4fda;
$custom-light: #d287e6;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4fda",
  "rgb": {
    "r": 186,
    "g": 79,
    "b": 218
  },
  "hsl": {
    "h": 286.187,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.62255,
    "c": 0.21731,
    "h": 317.6
  },
  "luminance": 0.21093
}

Semantic roles & 50–950 ramp

primary
#BA4FDA
secondary
#B3DEA7
accent
#E84066
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #BA4FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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