#BA4BE4#BA4BE4

#BA4BE4 is a light, highly saturated purple. Relative luminance 0.211; OKLCH L 62.4% C 0.232 H 315.2°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#BA4BE4
RGBrgb(186, 75, 228)
HSLhsl(284, 74%, 59%)
HSVhsv(284, 67%, 89%)
CMYKcmyk(18.4%, 67.1%, 0%, 10.6%)
CIE-LABlab(53.03, 66.77, -58.01)
CIE-LCHlch(53.03, 88.45, 319.01°)
OKLaboklab(62.43% 0.1645 -0.1632)
OKLCHoklch(62.43% 0.232 315.2)
XYZxyz(36.7671, 21.0740, 75.5147)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA4BE4 #75E44B
analogous
#6D4BE4 #BA4BE4 #E44BC2
triadic
#BA4BE4 #E4BA4B #4BE4BA
tetradic
#BA4BE4 #E46D4B #75E44B #4BC2E4
square
#BA4BE4 #E46D4B #75E44B #4BC2E4
split-complementary
#BA4BE4 #C2E44B #4BE46D
monochromatic
#78189D #A120D2 #BA4BE4 #CE80EC #E3B5F4

Accessibility & contrast

On white

4.03
#BA4BE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#BA4BE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA4BE4
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA4BE4#FFFFFF#000000##000000
##BA4BE41.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E8
Deuteranopia (green-blind)
#4882E0
Tritanopia (blue-blind)
#B76992
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ba4be4;
/* rgb */ color: rgb(186, 75, 228);
/* oklch */ color: oklch(62.4% 0.232 315.2);
Tailwind
colors: {
  custom: {
    50: '#d385ed',
    500: '#ba4be4',
    950: '#000000',
  },
}
SCSS
$custom: #ba4be4;
$custom-light: #d385ed;
$custom-dark: #000000;
JSON
{
  "hex": "#ba4be4",
  "rgb": {
    "r": 186,
    "g": 75,
    "b": 228
  },
  "hsl": {
    "h": 283.529,
    "s": 73.913,
    "l": 59.412
  },
  "oklch": {
    "l": 0.62428,
    "c": 0.23169,
    "h": 315.2
  },
  "luminance": 0.21073
}

Semantic roles & 50–950 ramp

primary
#BA4BE4
secondary
#B8E3A8
accent
#F1376A
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #BA4BE4

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

Preview Lab → · Contrast checker → · Palette generator →

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