#BA36EE#BA36EE

#BA36EE is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 61.2% C 0.263 H 314.0°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#BA36EE
RGBrgb(186, 54, 238)
HSLhsl(283, 84%, 57%)
HSVhsv(283, 77%, 93%)
CMYKcmyk(21.8%, 77.3%, 0%, 6.7%)
CIE-LABlab(50.98, 76.37, -66.95)
CIE-LCHlch(50.98, 101.56, 318.76°)
OKLaboklab(61.18% 0.1825 -0.1892)
OKLCHoklch(61.18% 0.263 314)
XYZxyz(36.9988, 19.2517, 82.6393)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA36EE #6AEE36
analogous
#5E36EE #BA36EE #EE36C6
triadic
#BA36EE #EEBA36 #36EEBA
tetradic
#BA36EE #EE5E36 #6AEE36 #36C6EE
square
#BA36EE #EE5E36 #6AEE36 #36C6EE
split-complementary
#BA36EE #C6EE36 #36EE5E
monochromatic
#740D9C #9E12D5 #BA36EE #CD6EF3 #E1A7F8

Accessibility & contrast

On white

4.33
#BA36EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#BA36EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA36EE
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA36EE#FFFFFF#000000##000000
##BA36EE1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073F3
Deuteranopia (green-blind)
#237CEA
Tritanopia (blue-blind)
#B56292
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #ba36ee;
/* rgb */ color: rgb(186, 54, 238);
/* oklch */ color: oklch(61.2% 0.263 314.0);
Tailwind
colors: {
  custom: {
    50: '#d47cf4',
    500: '#ba36ee',
    950: '#000000',
  },
}
SCSS
$custom: #ba36ee;
$custom-light: #d47cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba36ee",
  "rgb": {
    "r": 186,
    "g": 54,
    "b": 238
  },
  "hsl": {
    "h": 283.043,
    "s": 84.404,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61176,
    "c": 0.26294,
    "h": 314
  },
  "luminance": 0.1925
}

Semantic roles & 50–950 ramp

primary
#BA36EE
secondary
#B0E59B
accent
#FB2D67
background
#FDF8FF
surface
#FBEFFE
border
#D4CAD6
text
#150B17
muted
#837C85

Preview Lab

Preview with #BA36EE

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

Preview Lab → · Contrast checker → · Palette generator →

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