#BA4DD6#BA4DD6

#BA4DD6 is a mid, highly saturated purple. Relative luminance 0.206; OKLCH L 61.8% C 0.216 H 318.8°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#BA4DD6
RGBrgb(186, 77, 214)
HSLhsl(288, 63%, 57%)
HSVhsv(288, 64%, 84%)
CMYKcmyk(13.1%, 64%, 0%, 16.1%)
CIE-LABlab(52.51, 63.20, -50.91)
CIE-LCHlch(52.51, 81.16, 321.15°)
OKLaboklab(61.79% 0.1628 -0.1424)
OKLCHoklch(61.79% 0.216 318.8)
XYZxyz(35.0396, 20.6034, 65.7365)
Luminance0.2060 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4DD6 #69D64D
analogous
#764DD6 #BA4DD6 #D64DAE
triadic
#BA4DD6 #D6BA4D #4DD6BA
tetradic
#BA4DD6 #D6764D #69D64D #4DAED6
square
#BA4DD6 #D6764D #69D64D #4DAED6
split-complementary
#BA4DD6 #AED64D #4DD676
monochromatic
#732089 #9D2BBB #BA4DD6 #CD7FE1 #E1B0ED

Accessibility & contrast

On white

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

On black

5.12
#BA4DD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4DD6
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4DD6#FFFFFF#000000##000000
##BA4DD61.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2176DA
Deuteranopia (green-blind)
#5581D3
Tritanopia (blue-blind)
#BA658B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ba4dd6;
/* rgb */ color: rgb(186, 77, 214);
/* oklch */ color: oklch(61.8% 0.216 318.8);
Tailwind
colors: {
  custom: {
    50: '#d286e3',
    500: '#ba4dd6',
    950: '#000000',
  },
}
SCSS
$custom: #ba4dd6;
$custom-light: #d286e3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4dd6",
  "rgb": {
    "r": 186,
    "g": 77,
    "b": 214
  },
  "hsl": {
    "h": 287.737,
    "s": 62.557,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61792,
    "c": 0.21629,
    "h": 318.8
  },
  "luminance": 0.20602
}

Semantic roles & 50–950 ramp

primary
#BA4DD6
secondary
#AFDBA4
accent
#E64264
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C15
muted
#837D84

Preview Lab

Preview with #BA4DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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