#BA55D0#BA55D0

#BA55D0 is a light, vivid purple. Relative luminance 0.215; OKLCH L 62.4% C 0.200 H 320.1°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#BA55D0
RGBrgb(186, 85, 208)
HSLhsl(289, 57%, 57%)
HSVhsv(289, 59%, 82%)
CMYKcmyk(10.6%, 59.1%, 0%, 18.4%)
CIE-LABlab(53.48, 58.48, -45.95)
CIE-LCHlch(53.48, 74.37, 321.84°)
OKLaboklab(62.39% 0.1532 -0.128)
OKLCHoklch(62.39% 0.2 320.1)
XYZxyz(34.8820, 21.4917, 61.9732)
Luminance0.2149 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA55D0 #6BD055
analogous
#7C55D0 #BA55D0 #D055A9
triadic
#BA55D0 #D0BA55 #55D0BA
tetradic
#BA55D0 #D07C55 #6BD055 #55A9D0
square
#BA55D0 #D07C55 #6BD055 #55A9D0
split-complementary
#BA55D0 #A9D055 #55D07C
monochromatic
#742586 #9E32B6 #BA55D0 #CD85DD #E1B5EB

Accessibility & contrast

On white

3.96
#BA55D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#BA55D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA55D0
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA55D0#FFFFFF#000000##000000
##BA55D01.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3979D4
Deuteranopia (green-blind)
#5F83CD
Tritanopia (blue-blind)
#BB688B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ba55d0;
/* rgb */ color: rgb(186, 85, 208);
/* oklch */ color: oklch(62.4% 0.200 320.1);
Tailwind
colors: {
  custom: {
    50: '#d28adf',
    500: '#ba55d0',
    950: '#000000',
  },
}
SCSS
$custom: #ba55d0;
$custom-light: #d28adf;
$custom-dark: #000000;
JSON
{
  "hex": "#ba55d0",
  "rgb": {
    "r": 186,
    "g": 85,
    "b": 208
  },
  "hsl": {
    "h": 289.268,
    "s": 56.682,
    "l": 57.451
  },
  "oklch": {
    "l": 0.62389,
    "c": 0.1996,
    "h": 320.1
  },
  "luminance": 0.2149
}

Semantic roles & 50–950 ramp

primary
#BA55D0
secondary
#B0D9A8
accent
#E04863
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA55D0

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

Preview Lab → · Contrast checker → · Palette generator →

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