#A548B8#A548B8

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

Color values

HEX#A548B8
RGBrgb(165, 72, 184)
HSLhsl(290, 44%, 50%)
HSVhsv(290, 61%, 72%)
CMYKcmyk(10.3%, 60.9%, 0%, 27.8%)
CIE-LABlab(47.10, 54.60, -42.41)
CIE-LCHlch(47.10, 69.13, 322.16°)
OKLaboklab(56.73% 0.1434 -0.1181)
OKLCHoklch(56.73% 0.186 320.5)
XYZxyz(26.4851, 16.0960, 47.0499)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A548B8 #5BB848
analogous
#6D48B8 #A548B8 #B84893
triadic
#A548B8 #B8A548 #48B8A5
tetradic
#A548B8 #B86D48 #5BB848 #4893B8
square
#A548B8 #B86D48 #5BB848 #4893B8
split-complementary
#A548B8 #93B848 #48B86D
monochromatic
#562560 #7E368C #A548B8 #BB74C9 #D0A0DA

Accessibility & contrast

On white

4.98
#A548B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#A548B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A548B8
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A548B8#FFFFFF#000000##FFFFFF
##A548B81.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E69BB
Deuteranopia (green-blind)
#5273B5
Tritanopia (blue-blind)
#A65A79
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a548b8;
/* rgb */ color: rgb(165, 72, 184);
/* oklch */ color: oklch(56.7% 0.186 320.5);
Tailwind
colors: {
  custom: {
    50: '#c381ce',
    500: '#a548b8',
    950: '#000000',
  },
}
SCSS
$custom: #a548b8;
$custom-light: #c381ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a548b8",
  "rgb": {
    "r": 165,
    "g": 72,
    "b": 184
  },
  "hsl": {
    "h": 289.821,
    "s": 44.094,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56728,
    "c": 0.18582,
    "h": 320.5
  },
  "luminance": 0.16095
}

Semantic roles & 50–950 ramp

primary
#A548B8
secondary
#9DC795
accent
#D4546A
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B13
muted
#827C82

Preview Lab

Preview with #A548B8

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

Preview Lab → · Contrast checker → · Palette generator →

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