#BA55D4#BA55D4

#BA55D4 is a light, highly saturated purple. Relative luminance 0.217; OKLCH L 62.6% C 0.203 H 318.9°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#BA55D4
RGBrgb(186, 85, 212)
HSLhsl(288, 60%, 58%)
HSVhsv(288, 60%, 83%)
CMYKcmyk(12.3%, 59.9%, 0%, 16.9%)
CIE-LABlab(53.70, 59.25, -47.89)
CIE-LCHlch(53.70, 76.18, 321.06°)
OKLaboklab(62.61% 0.1533 -0.1336)
OKLCHoklch(62.61% 0.203 318.9)
XYZxyz(35.3803, 21.6911, 64.5977)
Luminance0.2169 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BA55D4 #6FD455
analogous
#7B55D4 #BA55D4 #D455AE
triadic
#BA55D4 #D4BA55 #55D4BA
tetradic
#BA55D4 #D47B55 #6FD455 #55AED4
square
#BA55D4 #D47B55 #6FD455 #55AED4
split-complementary
#BA55D4 #AED455 #55D47B
monochromatic
#76238B #9F30BC #BA55D4 #CE86E0 #E2B7ED

Accessibility & contrast

On white

3.93
#BA55D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#BA55D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BA55D4
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BA55D4#FFFFFF#000000##000000
##BA55D41.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#357AD8
Deuteranopia (green-blind)
#5D84D1
Tritanopia (blue-blind)
#BA6A8D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #ba55d4;
/* rgb */ color: rgb(186, 85, 212);
/* oklch */ color: oklch(62.6% 0.203 318.9);
Tailwind
colors: {
  custom: {
    50: '#d28ae2',
    500: '#ba55d4',
    950: '#000000',
  },
}
SCSS
$custom: #ba55d4;
$custom-light: #d28ae2;
$custom-dark: #000000;
JSON
{
  "hex": "#ba55d4",
  "rgb": {
    "r": 186,
    "g": 85,
    "b": 212
  },
  "hsl": {
    "h": 287.717,
    "s": 59.624,
    "l": 58.235
  },
  "oklch": {
    "l": 0.62615,
    "c": 0.20339,
    "h": 318.9
  },
  "luminance": 0.2169
}

Semantic roles & 50–950 ramp

primary
#BA55D4
secondary
#B3DCA9
accent
#E34565
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #BA55D4

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

Preview Lab → · Contrast checker → · Palette generator →

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