#BA53BB#BA53BB

#BA53BB is a mid, vivid purple. Relative luminance 0.202; OKLCH L 61.0% C 0.183 H 327.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#BA53BB
RGBrgb(186, 83, 187)
HSLhsl(299, 43%, 53%)
HSVhsv(299, 56%, 73%)
CMYKcmyk(0.5%, 55.6%, 0%, 26.7%)
CIE-LABlab(52.08, 55.51, -36.10)
CIE-LCHlch(52.08, 66.22, 326.97°)
OKLaboklab(61.02% 0.1541 -0.0994)
OKLCHoklch(61.02% 0.183 327.2)
XYZxyz(32.3121, 20.2154, 49.2041)
Luminance0.2021 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA53BB #54BB53
analogous
#8653BB #BA53BB #BB5388
triadic
#BA53BB #BBBA53 #53BBBA
tetradic
#BA53BB #BB8653 #54BB53 #5388BB
square
#BA53BB #BB8653 #54BB53 #5388BB
split-complementary
#BA53BB #88BB53 #53BB86
monochromatic
#692A6A #953B96 #BA53BB #CC7FCC #DDABDE

Accessibility & contrast

On white

4.16
#BA53BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#BA53BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA53BB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA53BB#FFFFFF#000000##000000
##BA53BB1.004.165.045.04
#FFFFFF4.161.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4874BE
Deuteranopia (green-blind)
#6981B8
Tritanopia (blue-blind)
#BF5F7F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #ba53bb;
/* rgb */ color: rgb(186, 83, 187);
/* oklch */ color: oklch(61.0% 0.183 327.2);
Tailwind
colors: {
  custom: {
    50: '#d189d0',
    500: '#ba53bb',
    950: '#000000',
  },
}
SCSS
$custom: #ba53bb;
$custom-light: #d189d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ba53bb",
  "rgb": {
    "r": 186,
    "g": 83,
    "b": 187
  },
  "hsl": {
    "h": 299.423,
    "s": 43.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.61019,
    "c": 0.18337,
    "h": 327.2
  },
  "luminance": 0.20213
}

Semantic roles & 50–950 ramp

primary
#BA53BB
secondary
#9FCB9E
accent
#D35556
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BA53BB

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

Preview Lab → · Contrast checker → · Palette generator →

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