#BA5EBE#BA5EBE

#BA5EBE is a light, vivid purple. Relative luminance 0.222; OKLCH L 62.6% C 0.169 H 325.8°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#BA5EBE
RGBrgb(186, 94, 190)
HSLhsl(298, 42%, 56%)
HSVhsv(298, 51%, 75%)
CMYKcmyk(2.1%, 50.5%, 0%, 25.5%)
CIE-LABlab(54.20, 50.76, -34.51)
CIE-LCHlch(54.20, 61.38, 325.79°)
OKLaboklab(62.63% 0.1396 -0.0949)
OKLCHoklch(62.63% 0.169 325.8)
XYZxyz(33.5460, 22.1640, 51.2163)
Luminance0.2216 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5EBE #62BE5E
analogous
#8A5EBE #BA5EBE #BE5E92
triadic
#BA5EBE #BEBA5E #5EBEBA
tetradic
#BA5EBE #BE8A5E #62BE5E #5E92BE
square
#BA5EBE #BE8A5E #62BE5E #5E92BE
split-complementary
#BA5EBE #92BE5E #5EBE8A
monochromatic
#702E73 #9B409F #BA5EBE #CD8AD0 #DFB5E1

Accessibility & contrast

On white

3.87
#BA5EBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#BA5EBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5EBE
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5EBE#FFFFFF#000000##000000
##BA5EBE1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#537AC1
Deuteranopia (green-blind)
#6F86BB
Tritanopia (blue-blind)
#BE6985
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #ba5ebe;
/* rgb */ color: rgb(186, 94, 190);
/* oklch */ color: oklch(62.6% 0.169 325.8);
Tailwind
colors: {
  custom: {
    50: '#d18fd2',
    500: '#ba5ebe',
    950: '#000000',
  },
}
SCSS
$custom: #ba5ebe;
$custom-light: #d18fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5ebe",
  "rgb": {
    "r": 186,
    "g": 94,
    "b": 190
  },
  "hsl": {
    "h": 297.5,
    "s": 42.478,
    "l": 55.686
  },
  "oklch": {
    "l": 0.62625,
    "c": 0.16883,
    "h": 325.8
  },
  "luminance": 0.22162
}

Semantic roles & 50–950 ramp

primary
#BA5EBE
secondary
#AAD0A8
accent
#D2565B
background
#FDF9FC
surface
#FAF1F9
border
#D3CBD2
text
#140D14
muted
#837E82

Preview Lab

Preview with #BA5EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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