#BA55CE#BA55CE

#BA55CE is a light, vivid purple. Relative luminance 0.214; OKLCH L 62.3% C 0.198 H 320.7°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#BA55CE
RGBrgb(186, 85, 206)
HSLhsl(290, 55%, 57%)
HSVhsv(290, 59%, 81%)
CMYKcmyk(9.7%, 58.7%, 0%, 19.2%)
CIE-LABlab(53.38, 58.10, -44.97)
CIE-LCHlch(53.38, 73.47, 322.26°)
OKLaboklab(62.28% 0.1531 -0.1251)
OKLCHoklch(62.28% 0.198 320.7)
XYZxyz(34.6375, 21.3939, 60.6855)
Luminance0.2139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA55CE #69CE55
analogous
#7E55CE #BA55CE #CE55A5
triadic
#BA55CE #CEBA55 #55CEBA
tetradic
#BA55CE #CE7E55 #69CE55 #55A5CE
square
#BA55CE #CE7E55 #69CE55 #55A5CE
split-complementary
#BA55CE #A5CE55 #55CE7E
monochromatic
#732683 #9D33B2 #BA55CE #CD85DC #E1B4E9

Accessibility & contrast

On white

3.98
#BA55CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#BA55CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA55CE
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA55CE#FFFFFF#000000##000000
##BA55CE1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ba55ce;
/* rgb */ color: rgb(186, 85, 206);
/* oklch */ color: oklch(62.3% 0.198 320.7);
Tailwind
colors: {
  custom: {
    50: '#d28add',
    500: '#ba55ce',
    950: '#000000',
  },
}
SCSS
$custom: #ba55ce;
$custom-light: #d28add;
$custom-dark: #000000;
JSON
{
  "hex": "#ba55ce",
  "rgb": {
    "r": 186,
    "g": 85,
    "b": 206
  },
  "hsl": {
    "h": 290.083,
    "s": 55.251,
    "l": 57.059
  },
  "oklch": {
    "l": 0.62278,
    "c": 0.19772,
    "h": 320.7
  },
  "luminance": 0.21392
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA55CE

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

Preview Lab → · Contrast checker → · Palette generator →

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