#BA53BE#BA53BE

#BA53BE is a mid, vivid purple. Relative luminance 0.203; OKLCH L 61.2% C 0.186 H 326.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#BA53BE
RGBrgb(186, 83, 190)
HSLhsl(298, 45%, 54%)
HSVhsv(298, 56%, 75%)
CMYKcmyk(2.1%, 56.3%, 0%, 25.5%)
CIE-LABlab(52.23, 56.05, -37.60)
CIE-LCHlch(52.23, 67.50, 326.14°)
OKLaboklab(61.17% 0.1544 -0.1038)
OKLCHoklch(61.17% 0.186 326.1)
XYZxyz(32.6366, 20.3452, 50.9132)
Luminance0.2034 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA53BE #57BE53
analogous
#8453BE #BA53BE #BE538C
triadic
#BA53BE #BEBA53 #53BEBA
tetradic
#BA53BE #BE8453 #57BE53 #538CBE
square
#BA53BE #BE8453 #57BE53 #538CBE
split-complementary
#BA53BE #8CBE53 #53BE84
monochromatic
#6B296D #963A9A #BA53BE #CC7FCF #DEACE0

Accessibility & contrast

On white

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

On black

5.07
#BA53BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA53BE
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA53BE#FFFFFF#000000##000000
##BA53BE1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4574C1
Deuteranopia (green-blind)
#6881BB
Tritanopia (blue-blind)
#BE6081
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ba53be;
/* rgb */ color: rgb(186, 83, 190);
/* oklch */ color: oklch(61.2% 0.186 326.1);
Tailwind
colors: {
  custom: {
    50: '#d189d2',
    500: '#ba53be',
    950: '#000000',
  },
}
SCSS
$custom: #ba53be;
$custom-light: #d189d2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba53be",
  "rgb": {
    "r": 186,
    "g": 83,
    "b": 190
  },
  "hsl": {
    "h": 297.757,
    "s": 45.148,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61173,
    "c": 0.18602,
    "h": 326.1
  },
  "luminance": 0.20343
}

Semantic roles & 50–950 ramp

primary
#BA53BE
secondary
#A1CD9F
accent
#D55358
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C14
muted
#837D82

Preview Lab

Preview with #BA53BE

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

Preview Lab → · Contrast checker → · Palette generator →

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