#A548BA#A548BA

#A548BA is a mid, vivid purple. Relative luminance 0.162; OKLCH L 56.8% C 0.188 H 319.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#A548BA
RGBrgb(165, 72, 186)
HSLhsl(289, 45%, 51%)
HSVhsv(289, 61%, 73%)
CMYKcmyk(11.3%, 61.3%, 0%, 27.1%)
CIE-LABlab(47.21, 54.99, -43.40)
CIE-LCHlch(47.21, 70.05, 321.72°)
OKLaboklab(56.84% 0.1435 -0.121)
OKLCHoklch(56.84% 0.188 319.8)
XYZxyz(26.6962, 16.1804, 48.1618)
Luminance0.1618 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A548BA #5DBA48
analogous
#6C48BA #A548BA #BA4896
triadic
#A548BA #BAA548 #48BAA5
tetradic
#A548BA #BA6C48 #5DBA48 #4896BA
square
#A548BA #BA6C48 #5DBA48 #4896BA
split-complementary
#A548BA #96BA48 #48BA6C
monochromatic
#572562 #7F368F #A548BA #BB74CB #D1A1DC

Accessibility & contrast

On white

4.96
#A548BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#A548BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A548BA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A548BA#FFFFFF#000000##FFFFFF
##A548BA1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6ABE
Deuteranopia (green-blind)
#5173B7
Tritanopia (blue-blind)
#A65A7A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a548ba;
/* rgb */ color: rgb(165, 72, 186);
/* oklch */ color: oklch(56.8% 0.188 319.8);
Tailwind
colors: {
  custom: {
    50: '#c381cf',
    500: '#a548ba',
    950: '#000000',
  },
}
SCSS
$custom: #a548ba;
$custom-light: #c381cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a548ba",
  "rgb": {
    "r": 165,
    "g": 72,
    "b": 186
  },
  "hsl": {
    "h": 288.947,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56844,
    "c": 0.18772,
    "h": 319.8
  },
  "luminance": 0.16179
}

Semantic roles & 50–950 ramp

primary
#A548BA
secondary
#9FC896
accent
#D5536B
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A548BA

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

Preview Lab → · Contrast checker → · Palette generator →

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