#BA55CA#BA55CA

#BA55CA is a light, vivid purple. Relative luminance 0.212; OKLCH L 62.1% C 0.194 H 322.0°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#BA55CA
RGBrgb(186, 85, 202)
HSLhsl(292, 52%, 56%)
HSVhsv(292, 58%, 79%)
CMYKcmyk(7.9%, 57.9%, 0%, 20.8%)
CIE-LABlab(53.17, 57.34, -43.02)
CIE-LCHlch(53.17, 71.68, 323.12°)
OKLaboklab(62.06% 0.1528 -0.1194)
OKLCHoklch(62.06% 0.194 322)
XYZxyz(34.1577, 21.2020, 58.1588)
Luminance0.2120 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA55CA #65CA55
analogous
#8055CA #BA55CA #CA55A0
triadic
#BA55CA #CABA55 #55CABA
tetradic
#BA55CA #CA8055 #65CA55 #55A0CA
square
#BA55CA #CA8055 #65CA55 #55A0CA
split-complementary
#BA55CA #A0CA55 #55CA80
monochromatic
#72277D #9C36AC #BA55CA #CD84D9 #E0B2E7

Accessibility & contrast

On white

4.01
#BA55CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#BA55CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA55CA
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA55CA#FFFFFF#000000##000000
##BA55CA1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F78CE
Deuteranopia (green-blind)
#6383C7
Tritanopia (blue-blind)
#BC6688
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ba55ca;
/* rgb */ color: rgb(186, 85, 202);
/* oklch */ color: oklch(62.1% 0.194 322.0);
Tailwind
colors: {
  custom: {
    50: '#d18ada',
    500: '#ba55ca',
    950: '#000000',
  },
}
SCSS
$custom: #ba55ca;
$custom-light: #d18ada;
$custom-dark: #000000;
JSON
{
  "hex": "#ba55ca",
  "rgb": {
    "r": 186,
    "g": 85,
    "b": 202
  },
  "hsl": {
    "h": 291.795,
    "s": 52.466,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62059,
    "c": 0.19398,
    "h": 322
  },
  "luminance": 0.212
}

Semantic roles & 50–950 ramp

primary
#BA55CA
secondary
#ACD5A5
accent
#DC4C60
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA55CA

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

Preview Lab → · Contrast checker → · Palette generator →

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