#BA5EBB#BA5EBB

#BA5EBB is a light, vivid purple. Relative luminance 0.220; OKLCH L 62.5% C 0.166 H 326.9°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#BA5EBB
RGBrgb(186, 94, 187)
HSLhsl(299, 41%, 55%)
HSVhsv(299, 50%, 73%)
CMYKcmyk(0.5%, 49.7%, 0%, 26.7%)
CIE-LABlab(54.06, 50.21, -32.99)
CIE-LCHlch(54.06, 60.08, 326.69°)
OKLaboklab(62.48% 0.1392 -0.0906)
OKLCHoklch(62.48% 0.166 326.9)
XYZxyz(33.2214, 22.0342, 49.5072)
Luminance0.2203 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA5EBB #5FBB5E
analogous
#8C5EBB #BA5EBB #BB5E8D
triadic
#BA5EBB #BBBA5E #5EBBBA
tetradic
#BA5EBB #BB8C5E #5FBB5E #5E8DBB
square
#BA5EBB #BB8C5E #5FBB5E #5E8DBB
split-complementary
#BA5EBB #8DBB5E #5EBB8C
monochromatic
#6F2F70 #9A419B #BA5EBB #CC89CD #DFB4DF

Accessibility & contrast

On white

3.88
#BA5EBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#BA5EBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA5EBB
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA5EBB#FFFFFF#000000##000000
##BA5EBB1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#557ABE
Deuteranopia (green-blind)
#7085B8
Tritanopia (blue-blind)
#BF6884
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #ba5ebb;
/* rgb */ color: rgb(186, 94, 187);
/* oklch */ color: oklch(62.5% 0.166 326.9);
Tailwind
colors: {
  custom: {
    50: '#d18fd0',
    500: '#ba5ebb',
    950: '#000000',
  },
}
SCSS
$custom: #ba5ebb;
$custom-light: #d18fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba5ebb",
  "rgb": {
    "r": 186,
    "g": 94,
    "b": 187
  },
  "hsl": {
    "h": 299.355,
    "s": 40.611,
    "l": 55.098
  },
  "oklch": {
    "l": 0.62479,
    "c": 0.16605,
    "h": 326.9
  },
  "luminance": 0.22032
}

Semantic roles & 50–950 ramp

primary
#BA5EBB
secondary
#A7CEA7
accent
#D05759
background
#FDF9FC
surface
#FAF1F9
border
#D3CBD2
text
#140D14
muted
#837E82

Preview Lab

Preview with #BA5EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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