#BA3DE9#BA3DE9

#BA3DE9 is a mid, highly saturated purple. Relative luminance 0.197; OKLCH L 61.4% C 0.252 H 314.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#BA3DE9
RGBrgb(186, 61, 233)
HSLhsl(284, 80%, 58%)
HSVhsv(284, 74%, 91%)
CMYKcmyk(20.2%, 73.8%, 0%, 8.6%)
CIE-LABlab(51.45, 73.10, -63.37)
CIE-LCHlch(51.45, 96.75, 319.08°)
OKLaboklab(61.4% 0.1776 -0.1788)
OKLCHoklch(61.4% 0.252 314.8)
XYZxyz(36.6240, 19.6611, 78.9407)
Luminance0.1966 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3DE9 #6CE93D
analogous
#643DE9 #BA3DE9 #E93DC2
triadic
#BA3DE9 #E9BA3D #3DE9BA
tetradic
#BA3DE9 #E9643D #6CE93D #3DC2E9
square
#BA3DE9 #E9643D #6CE93D #3DC2E9
split-complementary
#BA3DE9 #C2E93D #3DE964
monochromatic
#75119A #9E18D1 #BA3DE9 #CE74EF #E1ABF5

Accessibility & contrast

On white

4.26
#BA3DE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#BA3DE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA3DE9
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3DE9#FFFFFF#000000##000000
##BA3DE91.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074EE
Deuteranopia (green-blind)
#347EE5
Tritanopia (blue-blind)
#B66391
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ba3de9;
/* rgb */ color: rgb(186, 61, 233);
/* oklch */ color: oklch(61.4% 0.252 314.8);
Tailwind
colors: {
  custom: {
    50: '#d37ff1',
    500: '#ba3de9',
    950: '#000000',
  },
}
SCSS
$custom: #ba3de9;
$custom-light: #d37ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3de9",
  "rgb": {
    "r": 186,
    "g": 61,
    "b": 233
  },
  "hsl": {
    "h": 283.605,
    "s": 79.63,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61403,
    "c": 0.25198,
    "h": 314.8
  },
  "luminance": 0.1966
}

Semantic roles & 50–950 ramp

primary
#BA3DE9
secondary
#B1E49E
accent
#F63267
background
#FDF8FE
surface
#FBEFFD
border
#D4CAD5
text
#150B17
muted
#837C85

Preview Lab

Preview with #BA3DE9

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

Preview Lab → · Contrast checker → · Palette generator →

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