#BA55CF#BA55CF

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

Color values

HEX#BA55CF
RGBrgb(186, 85, 207)
HSLhsl(290, 56%, 57%)
HSVhsv(290, 59%, 81%)
CMYKcmyk(10.1%, 58.9%, 0%, 18.8%)
CIE-LABlab(53.43, 58.29, -45.46)
CIE-LCHlch(53.43, 73.92, 322.05°)
OKLaboklab(62.33% 0.1531 -0.1266)
OKLCHoklch(62.33% 0.199 320.4)
XYZxyz(34.7593, 21.4427, 61.3273)
Luminance0.2144 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA55CF #6ACF55
analogous
#7D55CF #BA55CF #CF55A7
triadic
#BA55CF #CFBA55 #55CFBA
tetradic
#BA55CF #CF7D55 #6ACF55 #55A7CF
square
#BA55CF #CF7D55 #6ACF55 #55A7CF
split-complementary
#BA55CF #A7CF55 #55CF7D
monochromatic
#742584 #9E33B4 #BA55CF #CD85DC #E1B4EA

Accessibility & contrast

On white

3.97
#BA55CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#BA55CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA55CF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA55CF#FFFFFF#000000##000000
##BA55CF1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A79D3
Deuteranopia (green-blind)
#6083CC
Tritanopia (blue-blind)
#BB688A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ba55cf;
/* rgb */ color: rgb(186, 85, 207);
/* oklch */ color: oklch(62.3% 0.199 320.4);
Tailwind
colors: {
  custom: {
    50: '#d28ade',
    500: '#ba55cf',
    950: '#000000',
  },
}
SCSS
$custom: #ba55cf;
$custom-light: #d28ade;
$custom-dark: #000000;
JSON
{
  "hex": "#ba55cf",
  "rgb": {
    "r": 186,
    "g": 85,
    "b": 207
  },
  "hsl": {
    "h": 289.672,
    "s": 55.963,
    "l": 57.255
  },
  "oklch": {
    "l": 0.62334,
    "c": 0.19867,
    "h": 320.4
  },
  "luminance": 0.21441
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BA55CF

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

Preview Lab → · Contrast checker → · Palette generator →

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