#A548B7#A548B7

#A548B7 is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.7% C 0.185 H 320.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#A548B7
RGBrgb(165, 72, 183)
HSLhsl(290, 44%, 50%)
HSVhsv(290, 61%, 72%)
CMYKcmyk(9.8%, 60.7%, 0%, 28.2%)
CIE-LABlab(47.05, 54.40, -41.91)
CIE-LCHlch(47.05, 68.68, 322.39°)
OKLaboklab(56.67% 0.1434 -0.1167)
OKLCHoklch(56.67% 0.185 320.9)
XYZxyz(26.3807, 16.0542, 46.4998)
Luminance0.1605 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A548B7 #5AB748
analogous
#6D48B7 #A548B7 #B74892
triadic
#A548B7 #B7A548 #48B7A5
tetradic
#A548B7 #B76D48 #5AB748 #4892B7
square
#A548B7 #B76D48 #5AB748 #4892B7
split-complementary
#A548B7 #92B748 #48B76D
monochromatic
#56255F #7D378B #A548B7 #BB74C8 #D0A0DA

Accessibility & contrast

On white

4.99
#A548B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#A548B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A548B7
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A548B7#FFFFFF#000000##FFFFFF
##A548B71.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F69BA
Deuteranopia (green-blind)
#5373B4
Tritanopia (blue-blind)
#A65979
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a548b7;
/* rgb */ color: rgb(165, 72, 183);
/* oklch */ color: oklch(56.7% 0.185 320.9);
Tailwind
colors: {
  custom: {
    50: '#c280cd',
    500: '#a548b7',
    950: '#000000',
  },
}
SCSS
$custom: #a548b7;
$custom-light: #c280cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a548b7",
  "rgb": {
    "r": 165,
    "g": 72,
    "b": 183
  },
  "hsl": {
    "h": 290.27,
    "s": 43.529,
    "l": 50
  },
  "oklch": {
    "l": 0.56671,
    "c": 0.18487,
    "h": 320.9
  },
  "luminance": 0.16053
}

Semantic roles & 50–950 ramp

primary
#A548B7
secondary
#9DC695
accent
#D35569
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B13
muted
#827C82

Preview Lab

Preview with #A548B7

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

Preview Lab → · Contrast checker → · Palette generator →

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