#BA5AC1#BA5AC1

#BA5AC1 is a light, vivid purple. Relative luminance 0.216; OKLCH L 62.2% C 0.178 H 324.8°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#BA5AC1
RGBrgb(186, 90, 193)
HSLhsl(296, 45%, 55%)
HSVhsv(296, 53%, 76%)
CMYKcmyk(3.6%, 53.4%, 0%, 24.3%)
CIE-LABlab(53.60, 53.28, -37.17)
CIE-LCHlch(53.60, 64.96, 325.10°)
OKLaboklab(62.23% 0.1455 -0.1026)
OKLCHoklch(62.23% 0.178 324.8)
XYZxyz(33.5307, 21.6034, 52.8454)
Luminance0.2160 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5AC1 #61C15A
analogous
#865AC1 #BA5AC1 #C15A95
triadic
#BA5AC1 #C1BA5A #5AC1BA
tetradic
#BA5AC1 #C1865A #61C15A #5A95C1
square
#BA5AC1 #C1865A #61C15A #5A95C1
split-complementary
#BA5AC1 #95C15A #5AC186
monochromatic
#702C75 #9A3DA1 #BA5AC1 #CD86D2 #DFB3E2

Accessibility & contrast

On white

3.95
#BA5AC1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#BA5AC1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5AC1
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5AC1#FFFFFF#000000##000000
##BA5AC11.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C79C4
Deuteranopia (green-blind)
#6B84BE
Tritanopia (blue-blind)
#BE6785
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ba5ac1;
/* rgb */ color: rgb(186, 90, 193);
/* oklch */ color: oklch(62.2% 0.178 324.8);
Tailwind
colors: {
  custom: {
    50: '#d18dd4',
    500: '#ba5ac1',
    950: '#000000',
  },
}
SCSS
$custom: #ba5ac1;
$custom-light: #d18dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5ac1",
  "rgb": {
    "r": 186,
    "g": 90,
    "b": 193
  },
  "hsl": {
    "h": 295.922,
    "s": 45.374,
    "l": 55.49
  },
  "oklch": {
    "l": 0.62231,
    "c": 0.178,
    "h": 324.8
  },
  "luminance": 0.21602
}

Semantic roles & 50–950 ramp

primary
#BA5AC1
secondary
#A9D1A6
accent
#D5535C
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #BA5AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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