#BA53C7#BA53C7

#BA53C7 is a mid, vivid purple. Relative luminance 0.207; OKLCH L 61.6% C 0.194 H 323.0°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#BA53C7
RGBrgb(186, 83, 199)
HSLhsl(293, 51%, 55%)
HSVhsv(293, 58%, 78%)
CMYKcmyk(6.5%, 58.3%, 0%, 22%)
CIE-LABlab(52.68, 57.70, -42.08)
CIE-LCHlch(52.68, 71.41, 323.90°)
OKLaboklab(61.65% 0.1552 -0.1167)
OKLCHoklch(61.65% 0.194 323)
XYZxyz(33.6508, 20.7509, 56.2546)
Luminance0.2075 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA53C7 #60C753
analogous
#8053C7 #BA53C7 #C7539A
triadic
#BA53C7 #C7BA53 #53C7BA
tetradic
#BA53C7 #C78053 #60C753 #539AC7
square
#BA53C7 #C78053 #60C753 #539AC7
split-complementary
#BA53C7 #9AC753 #53C780
monochromatic
#6F2778 #9A36A7 #BA53C7 #CD81D6 #DFAFE5

Accessibility & contrast

On white

4.08
#BA53C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#BA53C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA53C7
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA53C7#FFFFFF#000000##000000
##BA53C71.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E76CB
Deuteranopia (green-blind)
#6382C4
Tritanopia (blue-blind)
#BD6485
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ba53c7;
/* rgb */ color: rgb(186, 83, 199);
/* oklch */ color: oklch(61.6% 0.194 323.0);
Tailwind
colors: {
  custom: {
    50: '#d189d8',
    500: '#ba53c7',
    950: '#000000',
  },
}
SCSS
$custom: #ba53c7;
$custom-light: #d189d8;
$custom-dark: #000000;
JSON
{
  "hex": "#ba53c7",
  "rgb": {
    "r": 186,
    "g": 83,
    "b": 199
  },
  "hsl": {
    "h": 293.276,
    "s": 50.877,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61649,
    "c": 0.19415,
    "h": 323
  },
  "luminance": 0.20749
}

Semantic roles & 50–950 ramp

primary
#BA53C7
secondary
#A8D3A3
accent
#DA4D5D
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #BA53C7

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

Preview Lab → · Contrast checker → · Palette generator →

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