#BA3DBE#BA3DBE

#BA3DBE is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.7% C 0.216 H 326.6°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#BA3DBE
RGBrgb(186, 61, 190)
HSLhsl(298, 51%, 49%)
HSVhsv(298, 68%, 75%)
CMYKcmyk(2.1%, 67.9%, 0%, 25.5%)
CIE-LABlab(48.88, 65.30, -42.89)
CIE-LCHlch(48.88, 78.13, 326.70°)
OKLaboklab(58.75% 0.1803 -0.1189)
OKLCHoklch(58.75% 0.216 326.6)
XYZxyz(31.2121, 17.4964, 50.4384)
Luminance0.1749 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3DBE #41BE3D
analogous
#7A3DBE #BA3DBE #BE3D81
triadic
#BA3DBE #BEBA3D #3DBEBA
tetradic
#BA3DBE #BE7A3D #41BE3D #3D81BE
square
#BA3DBE #BE7A3D #41BE3D #3D81BE
split-complementary
#BA3DBE #81BE3D #3DBE7A
monochromatic
#5F1F61 #8D2E90 #BA3DBE #CC69CF #DC98DE

Accessibility & contrast

On white

4.67
#BA3DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#BA3DBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3DBE
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3DBE#FFFFFF#000000##FFFFFF
##BA3DBE1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256AC2
Deuteranopia (green-blind)
#5A7ABB
Tritanopia (blue-blind)
#BF5079
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba3dbe;
/* rgb */ color: rgb(186, 61, 190);
/* oklch */ color: oklch(58.7% 0.216 326.6);
Tailwind
colors: {
  custom: {
    50: '#d27dd2',
    500: '#ba3dbe',
    950: '#000000',
  },
}
SCSS
$custom: #ba3dbe;
$custom-light: #d27dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3dbe",
  "rgb": {
    "r": 186,
    "g": 61,
    "b": 190
  },
  "hsl": {
    "h": 298.14,
    "s": 51.394,
    "l": 49.216
  },
  "oklch": {
    "l": 0.58745,
    "c": 0.21596,
    "h": 326.6
  },
  "luminance": 0.17494
}

Semantic roles & 50–950 ramp

primary
#BA3DBE
secondary
#8FC98D
accent
#DB4D51
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #BA3DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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