#BA3EBE#BA3EBE

#BA3EBE is a mid, highly saturated purple. Relative luminance 0.176; OKLCH L 58.8% C 0.215 H 326.6°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#BA3EBE
RGBrgb(186, 62, 190)
HSLhsl(298, 51%, 49%)
HSVhsv(298, 67%, 75%)
CMYKcmyk(2.1%, 67.4%, 0%, 25.5%)
CIE-LABlab(49.01, 64.93, -42.68)
CIE-LCHlch(49.01, 77.70, 326.68°)
OKLaboklab(58.84% 0.1792 -0.1183)
OKLCHoklch(58.84% 0.215 326.6)
XYZxyz(31.2660, 17.6041, 50.4563)
Luminance0.1760 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3EBE #42BE3E
analogous
#7A3EBE #BA3EBE #BE3E82
triadic
#BA3EBE #BEBA3E #3EBEBA
tetradic
#BA3EBE #BE7A3E #42BE3E #3E82BE
square
#BA3EBE #BE7A3E #42BE3E #3E82BE
split-complementary
#BA3EBE #82BE3E #3EBE7A
monochromatic
#602062 #8D2F90 #BA3EBE #CB6BCF #DB99DE

Accessibility & contrast

On white

4.65
#BA3EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#BA3EBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BA3EBE
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA3EBE#FFFFFF#000000##FFFFFF
##BA3EBE1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276AC2
Deuteranopia (green-blind)
#5B7ABB
Tritanopia (blue-blind)
#BF5179
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba3ebe;
/* rgb */ color: rgb(186, 62, 190);
/* oklch */ color: oklch(58.8% 0.215 326.6);
Tailwind
colors: {
  custom: {
    50: '#d27ed2',
    500: '#ba3ebe',
    950: '#000000',
  },
}
SCSS
$custom: #ba3ebe;
$custom-light: #d27ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3ebe",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 190
  },
  "hsl": {
    "h": 298.125,
    "s": 50.794,
    "l": 49.412
  },
  "oklch": {
    "l": 0.58841,
    "c": 0.21475,
    "h": 326.6
  },
  "luminance": 0.17602
}

Semantic roles & 50–950 ramp

primary
#BA3EBE
secondary
#90C98E
accent
#DA4E52
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #BA3EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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