#BA4DE7#BA4DE7

#BA4DE7 is a light, highly saturated purple. Relative luminance 0.215; OKLCH L 62.8% C 0.232 H 314.4°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#BA4DE7
RGBrgb(186, 77, 231)
HSLhsl(282, 76%, 60%)
HSVhsv(282, 67%, 91%)
CMYKcmyk(19.5%, 66.7%, 0%, 9.4%)
CIE-LABlab(53.51, 66.53, -58.93)
CIE-LCHlch(53.51, 88.88, 318.47°)
OKLaboklab(62.83% 0.1622 -0.1659)
OKLCHoklch(62.83% 0.232 314.4)
XYZxyz(37.3250, 21.5176, 77.7730)
Luminance0.2152 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4DE7 #7AE74D
analogous
#6D4DE7 #BA4DE7 #E74DC7
triadic
#BA4DE7 #E7BA4D #4DE7BA
tetradic
#BA4DE7 #E76D4D #7AE74D #4DC7E7
square
#BA4DE7 #E76D4D #7AE74D #4DC7E7
split-complementary
#BA4DE7 #C7E74D #4DE76D
monochromatic
#7A16A4 #A21DD9 #BA4DE7 #CF83EE #E4B9F6

Accessibility & contrast

On white

3.96
#BA4DE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#BA4DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4DE7
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4DE7#FFFFFF#000000##000000
##BA4DE71.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEC
Deuteranopia (green-blind)
#4683E3
Tritanopia (blue-blind)
#B66C94
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ba4de7;
/* rgb */ color: rgb(186, 77, 231);
/* oklch */ color: oklch(62.8% 0.232 314.4);
Tailwind
colors: {
  custom: {
    50: '#d386ef',
    500: '#ba4de7',
    950: '#000000',
  },
}
SCSS
$custom: #ba4de7;
$custom-light: #d386ef;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4de7",
  "rgb": {
    "r": 186,
    "g": 77,
    "b": 231
  },
  "hsl": {
    "h": 282.468,
    "s": 76.238,
    "l": 60.392
  },
  "oklch": {
    "l": 0.62831,
    "c": 0.23198,
    "h": 314.4
  },
  "luminance": 0.21516
}

Semantic roles & 50–950 ramp

primary
#BA4DE7
secondary
#BCE5AA
accent
#D80D48
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #BA4DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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