#BA5BBE#BA5BBE

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

Color values

HEX#BA5BBE
RGBrgb(186, 91, 190)
HSLhsl(298, 43%, 55%)
HSVhsv(298, 52%, 75%)
CMYKcmyk(2.1%, 52.1%, 0%, 25.5%)
CIE-LABlab(53.64, 52.24, -35.38)
CIE-LCHlch(53.64, 63.09, 325.89°)
OKLaboklab(62.21% 0.1437 -0.0974)
OKLCHoklch(62.21% 0.174 325.9)
XYZxyz(33.2844, 21.6408, 51.1291)
Luminance0.2164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5BBE #5FBE5B
analogous
#895BBE #BA5BBE #BE5B90
triadic
#BA5BBE #BEBA5B #5BBEBA
tetradic
#BA5BBE #BE895B #5FBE5B #5B90BE
square
#BA5BBE #BE895B #5FBE5B #5B90BE
split-complementary
#BA5BBE #90BE5B #5BBE89
monochromatic
#6F2D72 #9A3E9D #BA5BBE #CC87CF #DFB3E1

Accessibility & contrast

On white

3.94
#BA5BBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#BA5BBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5BBE
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5BBE#FFFFFF#000000##000000
##BA5BBE1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5079C1
Deuteranopia (green-blind)
#6D84BB
Tritanopia (blue-blind)
#BE6784
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ba5bbe;
/* rgb */ color: rgb(186, 91, 190);
/* oklch */ color: oklch(62.2% 0.174 325.9);
Tailwind
colors: {
  custom: {
    50: '#d18dd2',
    500: '#ba5bbe',
    950: '#000000',
  },
}
SCSS
$custom: #ba5bbe;
$custom-light: #d18dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5bbe",
  "rgb": {
    "r": 186,
    "g": 91,
    "b": 190
  },
  "hsl": {
    "h": 297.576,
    "s": 43.231,
    "l": 55.098
  },
  "oklch": {
    "l": 0.62214,
    "c": 0.17364,
    "h": 325.9
  },
  "luminance": 0.21639
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA5BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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