#BA5ABE#BA5ABE

#BA5ABE is a light, vivid purple. Relative luminance 0.215; OKLCH L 62.1% C 0.175 H 325.9°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#BA5ABE
RGBrgb(186, 90, 190)
HSLhsl(298, 43%, 55%)
HSVhsv(298, 53%, 75%)
CMYKcmyk(2.1%, 52.6%, 0%, 25.5%)
CIE-LABlab(53.46, 52.73, -35.66)
CIE-LCHlch(53.46, 63.66, 325.93°)
OKLaboklab(62.08% 0.1451 -0.0982)
OKLCHoklch(62.08% 0.175 325.9)
XYZxyz(33.1994, 21.4709, 51.1008)
Luminance0.2147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5ABE #5EBE5A
analogous
#885ABE #BA5ABE #BE5A90
triadic
#BA5ABE #BEBA5A #5ABEBA
tetradic
#BA5ABE #BE885A #5EBE5A #5A90BE
square
#BA5ABE #BE885A #5EBE5A #5A90BE
split-complementary
#BA5ABE #90BE5A #5ABE88
monochromatic
#6E2D71 #993E9D #BA5ABE #CC86CF #DFB2E1

Accessibility & contrast

On white

3.97
#BA5ABE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#BA5ABE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5ABE
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5ABE#FFFFFF#000000##000000
##BA5ABE1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E78C1
Deuteranopia (green-blind)
#6C84BB
Tritanopia (blue-blind)
#BE6684
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ba5abe;
/* rgb */ color: rgb(186, 90, 190);
/* oklch */ color: oklch(62.1% 0.175 325.9);
Tailwind
colors: {
  custom: {
    50: '#d18dd2',
    500: '#ba5abe',
    950: '#000000',
  },
}
SCSS
$custom: #ba5abe;
$custom-light: #d18dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5abe",
  "rgb": {
    "r": 186,
    "g": 90,
    "b": 190
  },
  "hsl": {
    "h": 297.6,
    "s": 43.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.6208,
    "c": 0.17522,
    "h": 325.9
  },
  "luminance": 0.21469
}

Semantic roles & 50–950 ramp

primary
#BA5ABE
secondary
#A7CFA5
accent
#D3555A
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BA5ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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