#BA5AC7#BA5AC7

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

Color values

HEX#BA5AC7
RGBrgb(186, 90, 199)
HSLhsl(293, 49%, 57%)
HSVhsv(293, 55%, 78%)
CMYKcmyk(6.5%, 54.8%, 0%, 22%)
CIE-LABlab(53.90, 54.40, -40.15)
CIE-LCHlch(53.90, 67.61, 323.57°)
OKLaboklab(62.54% 0.1461 -0.1112)
OKLCHoklch(62.54% 0.184 322.7)
XYZxyz(34.2136, 21.8766, 56.4422)
Luminance0.2188 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5AC7 #67C75A
analogous
#845AC7 #BA5AC7 #C75A9E
triadic
#BA5AC7 #C7BA5A #5AC7BA
tetradic
#BA5AC7 #C7845A #67C75A #5A9EC7
square
#BA5AC7 #C7845A #67C75A #5A9EC7
split-complementary
#BA5AC7 #9EC75A #5AC784
monochromatic
#732A7C #9D3AAA #BA5AC7 #CD88D7 #E0B5E6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA5AC7#FFFFFF#000000##000000
##BA5AC71.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)
#487ACB
Deuteranopia (green-blind)
#6885C4
Tritanopia (blue-blind)
#BD6988
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ba5ac7;
/* rgb */ color: rgb(186, 90, 199);
/* oklch */ color: oklch(62.5% 0.184 322.7);
Tailwind
colors: {
  custom: {
    50: '#d18dd8',
    500: '#ba5ac7',
    950: '#000000',
  },
}
SCSS
$custom: #ba5ac7;
$custom-light: #d18dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5ac7",
  "rgb": {
    "r": 186,
    "g": 90,
    "b": 199
  },
  "hsl": {
    "h": 292.844,
    "s": 49.321,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62541,
    "c": 0.18362,
    "h": 322.7
  },
  "luminance": 0.21875
}

Semantic roles & 50–950 ramp

primary
#BA5AC7
secondary
#ADD5A8
accent
#D94F5F
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #BA5AC7

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

Preview Lab → · Contrast checker → · Palette generator →

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