#BA54CE#BA54CE

#BA54CE is a light, vivid purple. Relative luminance 0.212; OKLCH L 62.2% C 0.199 H 320.8°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#BA54CE
RGBrgb(186, 84, 206)
HSLhsl(290, 55%, 57%)
HSVhsv(290, 59%, 81%)
CMYKcmyk(9.7%, 59.2%, 0%, 19.2%)
CIE-LABlab(53.21, 58.56, -45.24)
CIE-LCHlch(53.21, 74.00, 322.31°)
OKLaboklab(62.16% 0.1543 -0.1259)
OKLCHoklch(62.16% 0.199 320.8)
XYZxyz(34.5593, 21.2376, 60.6594)
Luminance0.2124 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA54CE #68CE54
analogous
#7D54CE #BA54CE #CE54A5
triadic
#BA54CE #CEBA54 #54CEBA
tetradic
#BA54CE #CE7D54 #68CE54 #54A5CE
square
#BA54CE #CE7D54 #68CE54 #54A5CE
split-complementary
#BA54CE #A5CE54 #54CE7D
monochromatic
#732582 #9D33B2 #BA54CE #CD84DC #E0B3E9

Accessibility & contrast

On white

4.00
#BA54CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#BA54CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA54CE
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA54CE#FFFFFF#000000##000000
##BA54CE1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A78D2
Deuteranopia (green-blind)
#6083CB
Tritanopia (blue-blind)
#BB6789
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ba54ce;
/* rgb */ color: rgb(186, 84, 206);
/* oklch */ color: oklch(62.2% 0.199 320.8);
Tailwind
colors: {
  custom: {
    50: '#d28add',
    500: '#ba54ce',
    950: '#000000',
  },
}
SCSS
$custom: #ba54ce;
$custom-light: #d28add;
$custom-dark: #000000;
JSON
{
  "hex": "#ba54ce",
  "rgb": {
    "r": 186,
    "g": 84,
    "b": 206
  },
  "hsl": {
    "h": 290.164,
    "s": 55.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.62155,
    "c": 0.19918,
    "h": 320.8
  },
  "luminance": 0.21236
}

Semantic roles & 50–950 ramp

primary
#BA54CE
secondary
#AED8A6
accent
#DF4962
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA54CE

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

Preview Lab → · Contrast checker → · Palette generator →

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