#BA3EBB#BA3EBB

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

Color values

HEX#BA3EBB
RGBrgb(186, 62, 187)
HSLhsl(300, 50%, 49%)
HSVhsv(300, 67%, 73%)
CMYKcmyk(0.5%, 66.8%, 0%, 26.7%)
CIE-LABlab(48.85, 64.42, -41.19)
CIE-LCHlch(48.85, 76.46, 327.41°)
OKLaboklab(58.67% 0.1792 -0.114)
OKLCHoklch(58.67% 0.212 327.5)
XYZxyz(30.9415, 17.4743, 48.7473)
Luminance0.1747 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA3EBB #3FBB3E
analogous
#7C3EBB #BA3EBB #BB3E7E
triadic
#BA3EBB #BBBA3E #3EBBBA
tetradic
#BA3EBB #BB7C3E #3FBB3E #3E7EBB
square
#BA3EBB #BB7C3E #3FBB3E #3E7EBB
split-complementary
#BA3EBB #7EBB3E #3EBB7C
monochromatic
#5F205F #8C2F8D #BA3EBB #CC69CD #DC97DC

Accessibility & contrast

On white

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

On black

4.49
#BA3EBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##BA3EBB#FFFFFF#000000##FFFFFF
##BA3EBB1.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6ABF
Deuteranopia (green-blind)
#5D7AB8
Tritanopia (blue-blind)
#BF5078
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #ba3ebb;
/* rgb */ color: rgb(186, 62, 187);
/* oklch */ color: oklch(58.7% 0.212 327.5);
Tailwind
colors: {
  custom: {
    50: '#d27dd0',
    500: '#ba3ebb',
    950: '#000000',
  },
}
SCSS
$custom: #ba3ebb;
$custom-light: #d27dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba3ebb",
  "rgb": {
    "r": 186,
    "g": 62,
    "b": 187
  },
  "hsl": {
    "h": 299.52,
    "s": 50.201,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58673,
    "c": 0.21234,
    "h": 327.5
  },
  "luminance": 0.17472
}

Semantic roles & 50–950 ramp

primary
#BA3EBB
secondary
#8DC88D
accent
#DA4E4F
background
#FDF8FC
surface
#FAEFF9
border
#D3CAD2
text
#150B14
muted
#837C82

Preview Lab

Preview with #BA3EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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