#BA3DEE#BA3DEE

#BA3DEE is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.7% C 0.256 H 313.6°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#BA3DEE
RGBrgb(186, 61, 238)
HSLhsl(282, 84%, 59%)
HSVhsv(282, 74%, 93%)
CMYKcmyk(21.8%, 74.4%, 0%, 6.7%)
CIE-LABlab(51.78, 74.06, -65.65)
CIE-LCHlch(51.78, 98.97, 318.44°)
OKLaboklab(61.74% 0.1768 -0.1855)
OKLCHoklch(61.74% 0.256 313.6)
XYZxyz(37.3484, 19.9509, 82.7558)
Luminance0.1995 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3DEE #71EE3D
analogous
#613DEE #BA3DEE #EE3DC9
triadic
#BA3DEE #EEBA3D #3DEEBA
tetradic
#BA3DEE #EE613D #71EE3D #3DC9EE
square
#BA3DEE #EE613D #71EE3D #3DC9EE
split-complementary
#BA3DEE #C9EE3D #3DEE61
monochromatic
#770EA2 #A013DB #BA3DEE #CE75F3 #E2AEF8

Accessibility & contrast

On white

4.21
#BA3DEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#BA3DEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA3DEE
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3DEE#FFFFFF#000000##000000
##BA3DEE1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075F3
Deuteranopia (green-blind)
#2C7EEA
Tritanopia (blue-blind)
#B56594
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ba3dee;
/* rgb */ color: rgb(186, 61, 238);
/* oklch */ color: oklch(61.7% 0.256 313.6);
Tailwind
colors: {
  custom: {
    50: '#d47ff4',
    500: '#ba3dee',
    950: '#000000',
  },
}
SCSS
$custom: #ba3dee;
$custom-light: #d47ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3dee",
  "rgb": {
    "r": 186,
    "g": 61,
    "b": 238
  },
  "hsl": {
    "h": 282.373,
    "s": 83.886,
    "l": 58.627
  },
  "oklch": {
    "l": 0.61741,
    "c": 0.25627,
    "h": 313.6
  },
  "luminance": 0.1995
}

Semantic roles & 50–950 ramp

primary
#BA3DEE
secondary
#B5E6A0
accent
#FA2E6A
background
#FDF8FF
surface
#FBEFFE
border
#D4CAD6
text
#150B17
muted
#837C85

Preview Lab

Preview with #BA3DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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