#BA55CC#BA55CC

#BA55CC is a light, vivid purple. Relative luminance 0.213; OKLCH L 62.2% C 0.196 H 321.4°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#BA55CC
RGBrgb(186, 85, 204)
HSLhsl(291, 54%, 57%)
HSVhsv(291, 58%, 80%)
CMYKcmyk(8.8%, 58.3%, 0%, 20%)
CIE-LABlab(53.27, 57.72, -44.00)
CIE-LCHlch(53.27, 72.57, 322.68°)
OKLaboklab(62.17% 0.153 -0.1223)
OKLCHoklch(62.17% 0.196 321.4)
XYZxyz(34.3961, 21.2974, 59.4141)
Luminance0.2130 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA55CC #67CC55
analogous
#7F55CC #BA55CC #CC55A3
triadic
#BA55CC #CCBA55 #55CCBA
tetradic
#BA55CC #CC7F55 #67CC55 #55A3CC
square
#BA55CC #CC7F55 #67CC55 #55A3CC
split-complementary
#BA55CC #A3CC55 #55CC7F
monochromatic
#732680 #9D35AF #BA55CC #CD84DA #E0B3E8

Accessibility & contrast

On white

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

On black

5.26
#BA55CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA55CC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA55CC#FFFFFF#000000##000000
##BA55CC1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D78D0
Deuteranopia (green-blind)
#6283C9
Tritanopia (blue-blind)
#BC6789
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ba55cc;
/* rgb */ color: rgb(186, 85, 204);
/* oklch */ color: oklch(62.2% 0.196 321.4);
Tailwind
colors: {
  custom: {
    50: '#d28adc',
    500: '#ba55cc',
    950: '#000000',
  },
}
SCSS
$custom: #ba55cc;
$custom-light: #d28adc;
$custom-dark: #000000;
JSON
{
  "hex": "#ba55cc",
  "rgb": {
    "r": 186,
    "g": 85,
    "b": 204
  },
  "hsl": {
    "h": 290.924,
    "s": 53.846,
    "l": 56.667
  },
  "oklch": {
    "l": 0.62168,
    "c": 0.19585,
    "h": 321.4
  },
  "luminance": 0.21296
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA55CC

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

Preview Lab → · Contrast checker → · Palette generator →

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