#BA55CD#BA55CD

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

Color values

HEX#BA55CD
RGBrgb(186, 85, 205)
HSLhsl(291, 55%, 57%)
HSVhsv(291, 59%, 80%)
CMYKcmyk(9.3%, 58.5%, 0%, 19.6%)
CIE-LABlab(53.33, 57.91, -44.49)
CIE-LCHlch(53.33, 73.02, 322.47°)
OKLaboklab(62.22% 0.153 -0.1237)
OKLCHoklch(62.22% 0.197 321)
XYZxyz(34.5164, 21.3455, 60.0477)
Luminance0.2134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA55CD #68CD55
analogous
#7E55CD #BA55CD #CD55A4
triadic
#BA55CD #CDBA55 #55CDBA
tetradic
#BA55CD #CD7E55 #68CD55 #55A4CD
square
#BA55CD #CD7E55 #68CD55 #55A4CD
split-complementary
#BA55CD #A4CD55 #55CD7E
monochromatic
#732682 #9D34B1 #BA55CD #CD84DB #E0B4E9

Accessibility & contrast

On white

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

On black

5.27
#BA55CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA55CD
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA55CD#FFFFFF#000000##000000
##BA55CD1.003.995.275.27
#FFFFFF3.991.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C78D1
Deuteranopia (green-blind)
#6183CA
Tritanopia (blue-blind)
#BC6789
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #ba55cd;
/* rgb */ color: rgb(186, 85, 205);
/* oklch */ color: oklch(62.2% 0.197 321.0);
Tailwind
colors: {
  custom: {
    50: '#d28add',
    500: '#ba55cd',
    950: '#000000',
  },
}
SCSS
$custom: #ba55cd;
$custom-light: #d28add;
$custom-dark: #000000;
JSON
{
  "hex": "#ba55cd",
  "rgb": {
    "r": 186,
    "g": 85,
    "b": 205
  },
  "hsl": {
    "h": 290.5,
    "s": 54.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.62223,
    "c": 0.19679,
    "h": 321
  },
  "luminance": 0.21344
}

Semantic roles & 50–950 ramp

primary
#BA55CD
secondary
#AED7A6
accent
#DE4A61
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA55CD

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

Preview Lab → · Contrast checker → · Palette generator →

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