#BA53CB#BA53CB

#BA53CB is a mid, vivid purple. Relative luminance 0.209; OKLCH L 61.9% C 0.198 H 321.8°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#BA53CB
RGBrgb(186, 83, 203)
HSLhsl(292, 54%, 56%)
HSVhsv(292, 59%, 80%)
CMYKcmyk(8.4%, 59.1%, 0%, 20.4%)
CIE-LABlab(52.88, 58.45, -44.04)
CIE-LCHlch(52.88, 73.19, 323.00°)
OKLaboklab(61.87% 0.1554 -0.1224)
OKLCHoklch(61.87% 0.198 321.8)
XYZxyz(34.1213, 20.9391, 58.7327)
Luminance0.2094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA53CB #64CB53
analogous
#7E53CB #BA53CB #CB53A0
triadic
#BA53CB #CBBA53 #53CBBA
tetradic
#BA53CB #CB7E53 #64CB53 #53A0CB
square
#BA53CB #CB7E53 #64CB53 #53A0CB
split-complementary
#BA53CB #A0CB53 #53CB7E
monochromatic
#71267E #9C34AD #BA53CB #CD82D9 #E0B1E7

Accessibility & contrast

On white

4.05
#BA53CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#BA53CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA53CB
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA53CB#FFFFFF#000000##000000
##BA53CB1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B77CF
Deuteranopia (green-blind)
#6182C8
Tritanopia (blue-blind)
#BC6587
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #ba53cb;
/* rgb */ color: rgb(186, 83, 203);
/* oklch */ color: oklch(61.9% 0.198 321.8);
Tailwind
colors: {
  custom: {
    50: '#d289db',
    500: '#ba53cb',
    950: '#000000',
  },
}
SCSS
$custom: #ba53cb;
$custom-light: #d289db;
$custom-dark: #000000;
JSON
{
  "hex": "#ba53cb",
  "rgb": {
    "r": 186,
    "g": 83,
    "b": 203
  },
  "hsl": {
    "h": 291.5,
    "s": 53.571,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61867,
    "c": 0.19784,
    "h": 321.8
  },
  "luminance": 0.20937
}

Semantic roles & 50–950 ramp

primary
#BA53CB
secondary
#ABD6A4
accent
#DD4B60
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA53CB

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

Preview Lab → · Contrast checker → · Palette generator →

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