#BA5BC3#BA5BC3

#BA5BC3 is a light, vivid purple. Relative luminance 0.219; OKLCH L 62.5% C 0.178 H 324.1°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#BA5BC3
RGBrgb(186, 91, 195)
HSLhsl(295, 46%, 56%)
HSVhsv(295, 53%, 76%)
CMYKcmyk(4.6%, 53.3%, 0%, 23.5%)
CIE-LABlab(53.88, 53.17, -37.88)
CIE-LCHlch(53.88, 65.28, 324.53°)
OKLaboklab(62.47% 0.1444 -0.1046)
OKLCHoklch(62.47% 0.178 324.1)
XYZxyz(33.8402, 21.8631, 54.0567)
Luminance0.2186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5BC3 #64C35B
analogous
#865BC3 #BA5BC3 #C35B98
triadic
#BA5BC3 #C3BA5B #5BC3BA
tetradic
#BA5BC3 #C3865B #64C35B #5B98C3
square
#BA5BC3 #C3865B #64C35B #5B98C3
split-complementary
#BA5BC3 #98C35B #5BC386
monochromatic
#712C78 #9C3CA5 #BA5BC3 #CD88D3 #E0B5E4

Accessibility & contrast

On white

3.91
#BA5BC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#BA5BC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5BC3
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5BC3#FFFFFF#000000##000000
##BA5BC31.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C79C6
Deuteranopia (green-blind)
#6B85C0
Tritanopia (blue-blind)
#BD6887
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ba5bc3;
/* rgb */ color: rgb(186, 91, 195);
/* oklch */ color: oklch(62.5% 0.178 324.1);
Tailwind
colors: {
  custom: {
    50: '#d18ed5',
    500: '#ba5bc3',
    950: '#000000',
  },
}
SCSS
$custom: #ba5bc3;
$custom-light: #d18ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5bc3",
  "rgb": {
    "r": 186,
    "g": 91,
    "b": 195
  },
  "hsl": {
    "h": 294.808,
    "s": 46.429,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62467,
    "c": 0.1783,
    "h": 324.1
  },
  "luminance": 0.21861
}

Semantic roles & 50–950 ramp

primary
#BA5BC3
secondary
#ABD2A7
accent
#D6525D
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140D14
muted
#837D83

Preview Lab

Preview with #BA5BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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