#BA4DE2#BA4DE2

#BA4DE2 is a light, highly saturated purple. Relative luminance 0.212; OKLCH L 62.5% C 0.227 H 315.6°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#BA4DE2
RGBrgb(186, 77, 226)
HSLhsl(284, 72%, 59%)
HSVhsv(284, 66%, 89%)
CMYKcmyk(17.7%, 65.9%, 0%, 11.4%)
CIE-LABlab(53.21, 65.54, -56.60)
CIE-LCHlch(53.21, 86.59, 319.19°)
OKLaboklab(62.52% 0.1625 -0.159)
OKLCHoklch(62.52% 0.227 315.6)
XYZxyz(36.6289, 21.2392, 74.1069)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4DE2 #75E24D
analogous
#704DE2 #BA4DE2 #E24DBF
triadic
#BA4DE2 #E2BA4D #4DE2BA
tetradic
#BA4DE2 #E2704D #75E24D #4DBFE2
square
#BA4DE2 #E2704D #75E24D #4DBFE2
split-complementary
#BA4DE2 #BFE24D #4DE270
monochromatic
#78199B #A122D0 #BA4DE2 #CE82EB #E3B6F3

Accessibility & contrast

On white

4.00
#BA4DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#BA4DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4DE2
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4DE2#FFFFFF#000000##000000
##BA4DE21.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E6
Deuteranopia (green-blind)
#4B82DF
Tritanopia (blue-blind)
#B76A91
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ba4de2;
/* rgb */ color: rgb(186, 77, 226);
/* oklch */ color: oklch(62.5% 0.227 315.6);
Tailwind
colors: {
  custom: {
    50: '#d386ec',
    500: '#ba4de2',
    950: '#000000',
  },
}
SCSS
$custom: #ba4de2;
$custom-light: #d386ec;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4de2",
  "rgb": {
    "r": 186,
    "g": 77,
    "b": 226
  },
  "hsl": {
    "h": 283.893,
    "s": 71.981,
    "l": 59.412
  },
  "oklch": {
    "l": 0.62518,
    "c": 0.22733,
    "h": 315.6
  },
  "luminance": 0.21238
}

Semantic roles & 50–950 ramp

primary
#BA4DE2
secondary
#B8E2A8
accent
#EF396A
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BA4DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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