#BA53AF#BA53AF

#BA53AF is a mid, vivid purple. Relative luminance 0.197; OKLCH L 60.4% C 0.173 H 331.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#BA53AF
RGBrgb(186, 83, 175)
HSLhsl(306, 43%, 53%)
HSVhsv(306, 55%, 73%)
CMYKcmyk(0%, 55.4%, 5.9%, 27.1%)
CIE-LABlab(51.52, 53.43, -30.00)
CIE-LCHlch(51.52, 61.27, 330.69°)
OKLaboklab(60.43% 0.1524 -0.0819)
OKLCHoklch(60.43% 0.173 331.7)
XYZxyz(31.0807, 19.7229, 42.7190)
Luminance0.1972 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA53AF #53BA5E
analogous
#9253BA #BA53AF #BA537B
triadic
#BA53AF #AFBA53 #53AFBA
tetradic
#BA53AF #BA9253 #53BA5E #537BBA
square
#BA53AF #BA9253 #53BA5E #537BBA
split-complementary
#BA53AF #7BBA53 #53BA92
monochromatic
#692A62 #943B8B #BA53AF #CC7FC3 #DDAAD8

Accessibility & contrast

On white

4.25
#BA53AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#BA53AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA53AF
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA53AF#FFFFFF#000000##000000
##BA53AF1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F72B2
Deuteranopia (green-blind)
#6E80AC
Tritanopia (blue-blind)
#C15B79
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #ba53af;
/* rgb */ color: rgb(186, 83, 175);
/* oklch */ color: oklch(60.4% 0.173 331.7);
Tailwind
colors: {
  custom: {
    50: '#d188c7',
    500: '#ba53af',
    950: '#000000',
  },
}
SCSS
$custom: #ba53af;
$custom-light: #d188c7;
$custom-dark: #000000;
JSON
{
  "hex": "#ba53af",
  "rgb": {
    "r": 186,
    "g": 83,
    "b": 175
  },
  "hsl": {
    "h": 306.408,
    "s": 42.739,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60428,
    "c": 0.17305,
    "h": 331.7
  },
  "luminance": 0.19721
}

Semantic roles & 50–950 ramp

primary
#BA53AF
secondary
#9ECBA3
accent
#D36355
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BA53AF

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

Preview Lab → · Contrast checker → · Palette generator →

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