#BA53BF#BA53BF

#BA53BF is a mid, vivid purple. Relative luminance 0.204; OKLCH L 61.2% C 0.187 H 325.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#BA53BF
RGBrgb(186, 83, 191)
HSLhsl(297, 46%, 54%)
HSVhsv(297, 57%, 75%)
CMYKcmyk(2.6%, 56.5%, 0%, 25.1%)
CIE-LABlab(52.27, 56.23, -38.10)
CIE-LCHlch(52.27, 67.93, 325.88°)
OKLaboklab(61.22% 0.1545 -0.1052)
OKLCHoklch(61.22% 0.187 325.7)
XYZxyz(32.7462, 20.3891, 51.4908)
Luminance0.2039 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA53BF #58BF53
analogous
#8453BF #BA53BF #BF538E
triadic
#BA53BF #BFBA53 #53BFBA
tetradic
#BA53BF #BF8453 #58BF53 #538EBF
square
#BA53BF #BF8453 #58BF53 #538EBF
split-complementary
#BA53BF #8EBF53 #53BF84
monochromatic
#6B296E #973A9B #BA53BF #CC80D0 #DEACE0

Accessibility & contrast

On white

4.14
#BA53BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#BA53BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA53BF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA53BF#FFFFFF#000000##000000
##BA53BF1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4574C2
Deuteranopia (green-blind)
#6781BC
Tritanopia (blue-blind)
#BE6181
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ba53bf;
/* rgb */ color: rgb(186, 83, 191);
/* oklch */ color: oklch(61.2% 0.187 325.7);
Tailwind
colors: {
  custom: {
    50: '#d189d3',
    500: '#ba53bf',
    950: '#000000',
  },
}
SCSS
$custom: #ba53bf;
$custom-light: #d189d3;
$custom-dark: #000000;
JSON
{
  "hex": "#ba53bf",
  "rgb": {
    "r": 186,
    "g": 83,
    "b": 191
  },
  "hsl": {
    "h": 297.222,
    "s": 45.763,
    "l": 53.725
  },
  "oklch": {
    "l": 0.61225,
    "c": 0.18692,
    "h": 325.7
  },
  "luminance": 0.20387
}

Semantic roles & 50–950 ramp

primary
#BA53BF
secondary
#A2CEA0
accent
#D55258
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BA53BF

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

Preview Lab → · Contrast checker → · Palette generator →

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