#BA55CB#BA55CB

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

Color values

HEX#BA55CB
RGBrgb(186, 85, 203)
HSLhsl(291, 53%, 56%)
HSVhsv(291, 58%, 80%)
CMYKcmyk(8.4%, 58.1%, 0%, 20.4%)
CIE-LABlab(53.22, 57.53, -43.51)
CIE-LCHlch(53.22, 72.13, 322.90°)
OKLaboklab(62.11% 0.1529 -0.1209)
OKLCHoklch(62.11% 0.195 321.7)
XYZxyz(34.2765, 21.2496, 58.7844)
Luminance0.2125 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA55CB #66CB55
analogous
#7F55CB #BA55CB #CB55A1
triadic
#BA55CB #CBBA55 #55CBBA
tetradic
#BA55CB #CB7F55 #66CB55 #55A1CB
square
#BA55CB #CB7F55 #66CB55 #55A1CB
split-complementary
#BA55CB #A1CB55 #55CB7F
monochromatic
#72277F #9C35AE #BA55CB #CD84D9 #E0B3E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BA55CB#FFFFFF#000000##000000
##BA55CB1.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)
#3E78CF
Deuteranopia (green-blind)
#6283C8
Tritanopia (blue-blind)
#BC6688
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ba55cb;
/* rgb */ color: rgb(186, 85, 203);
/* oklch */ color: oklch(62.1% 0.195 321.7);
Tailwind
colors: {
  custom: {
    50: '#d18adb',
    500: '#ba55cb',
    950: '#000000',
  },
}
SCSS
$custom: #ba55cb;
$custom-light: #d18adb;
$custom-dark: #000000;
JSON
{
  "hex": "#ba55cb",
  "rgb": {
    "r": 186,
    "g": 85,
    "b": 203
  },
  "hsl": {
    "h": 291.356,
    "s": 53.153,
    "l": 56.471
  },
  "oklch": {
    "l": 0.62114,
    "c": 0.19491,
    "h": 321.7
  },
  "luminance": 0.21248
}

Semantic roles & 50–950 ramp

primary
#BA55CB
secondary
#ADD6A6
accent
#DD4B60
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA55CB

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

Preview Lab → · Contrast checker → · Palette generator →

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