#BA54D0#BA54D0

#BA54D0 is a light, highly saturated purple. Relative luminance 0.213; OKLCH L 62.3% C 0.201 H 320.2°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#BA54D0
RGBrgb(186, 84, 208)
HSLhsl(289, 57%, 57%)
HSVhsv(289, 60%, 82%)
CMYKcmyk(10.6%, 59.6%, 0%, 18.4%)
CIE-LABlab(53.31, 58.94, -46.22)
CIE-LCHlch(53.31, 74.90, 321.90°)
OKLaboklab(62.27% 0.1544 -0.1287)
OKLCHoklch(62.27% 0.201 320.2)
XYZxyz(34.8038, 21.3354, 61.9471)
Luminance0.2133 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA54D0 #6AD054
analogous
#7C54D0 #BA54D0 #D054A8
triadic
#BA54D0 #D0BA54 #54D0BA
tetradic
#BA54D0 #D07C54 #6AD054 #54A8D0
square
#BA54D0 #D07C54 #6AD054 #54A8D0
split-complementary
#BA54D0 #A8D054 #54D07C
monochromatic
#742585 #9E32B5 #BA54D0 #CD84DD #E1B4EA

Accessibility & contrast

On white

3.99
#BA54D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#BA54D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA54D0
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA54D0#FFFFFF#000000##000000
##BA54D01.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3778D4
Deuteranopia (green-blind)
#5E83CD
Tritanopia (blue-blind)
#BB688A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ba54d0;
/* rgb */ color: rgb(186, 84, 208);
/* oklch */ color: oklch(62.3% 0.201 320.2);
Tailwind
colors: {
  custom: {
    50: '#d28adf',
    500: '#ba54d0',
    950: '#000000',
  },
}
SCSS
$custom: #ba54d0;
$custom-light: #d28adf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba54d0",
  "rgb": {
    "r": 186,
    "g": 84,
    "b": 208
  },
  "hsl": {
    "h": 289.355,
    "s": 56.881,
    "l": 57.255
  },
  "oklch": {
    "l": 0.62267,
    "c": 0.20105,
    "h": 320.2
  },
  "luminance": 0.21334
}

Semantic roles & 50–950 ramp

primary
#BA54D0
secondary
#B0D9A7
accent
#E04863
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA54D0

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

Preview Lab → · Contrast checker → · Palette generator →

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