#BA54CD#BA54CD

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

Color values

HEX#BA54CD
RGBrgb(186, 84, 205)
HSLhsl(291, 55%, 57%)
HSVhsv(291, 59%, 80%)
CMYKcmyk(9.3%, 59%, 0%, 19.6%)
CIE-LABlab(53.16, 58.37, -44.75)
CIE-LCHlch(53.16, 73.55, 322.52°)
OKLaboklab(62.1% 0.1543 -0.1245)
OKLCHoklch(62.1% 0.198 321.1)
XYZxyz(34.4382, 21.1892, 60.0217)
Luminance0.2119 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA54CD #67CD54
analogous
#7E54CD #BA54CD #CD54A3
triadic
#BA54CD #CDBA54 #54CDBA
tetradic
#BA54CD #CD7E54 #67CD54 #54A3CD
square
#BA54CD #CD7E54 #67CD54 #54A3CD
split-complementary
#BA54CD #A3CD54 #54CD7E
monochromatic
#732681 #9D34B0 #BA54CD #CD83DB #E0B3E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA54CD#FFFFFF#000000##000000
##BA54CD1.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)
#3B78D1
Deuteranopia (green-blind)
#6083CA
Tritanopia (blue-blind)
#BC6689
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ba54cd;
/* rgb */ color: rgb(186, 84, 205);
/* oklch */ color: oklch(62.1% 0.198 321.1);
Tailwind
colors: {
  custom: {
    50: '#d28add',
    500: '#ba54cd',
    950: '#000000',
  },
}
SCSS
$custom: #ba54cd;
$custom-light: #d28add;
$custom-dark: #000000;
JSON
{
  "hex": "#ba54cd",
  "rgb": {
    "r": 186,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 290.579,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.621,
    "c": 0.19824,
    "h": 321.1
  },
  "luminance": 0.21188
}

Semantic roles & 50–950 ramp

primary
#BA54CD
secondary
#ADD7A6
accent
#DE4A61
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA54CD

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

Preview Lab → · Contrast checker → · Palette generator →

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