#A548A2#A548A2

#A548A2 is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.5% C 0.166 H 328.8°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#A548A2
RGBrgb(165, 72, 162)
HSLhsl(302, 39%, 46%)
HSVhsv(302, 56%, 65%)
CMYKcmyk(0%, 56.4%, 1.8%, 35.3%)
CIE-LABlab(45.97, 50.48, -31.25)
CIE-LCHlch(45.97, 59.37, 328.25°)
OKLaboklab(55.53% 0.1416 -0.0858)
OKLCHoklch(55.53% 0.166 328.8)
XYZxyz(24.3557, 15.2442, 35.8350)
Luminance0.1524 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A548A2 #48A54B
analogous
#7A48A5 #A548A2 #A54874
triadic
#A548A2 #A2A548 #48A2A5
tetradic
#A548A2 #A57A48 #48A54B #4874A5
square
#A548A2 #A57A48 #48A54B #4874A5
split-complementary
#A548A2 #74A548 #48A57A
monochromatic
#50234E #7A3578 #A548A2 #BF6CBC #D196CF

Accessibility & contrast

On white

5.19
#A548A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#A548A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A548A2
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A548A2#FFFFFF#000000##FFFFFF
##A548A21.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4065A5
Deuteranopia (green-blind)
#5E719F
Tritanopia (blue-blind)
#AA526E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a548a2;
/* rgb */ color: rgb(165, 72, 162);
/* oklch */ color: oklch(55.5% 0.166 328.8);
Tailwind
colors: {
  custom: {
    50: '#c280be',
    500: '#a548a2',
    950: '#000000',
  },
}
SCSS
$custom: #a548a2;
$custom-light: #c280be;
$custom-dark: #000000;
JSON
{
  "hex": "#a548a2",
  "rgb": {
    "r": 165,
    "g": 72,
    "b": 162
  },
  "hsl": {
    "h": 301.935,
    "s": 39.241,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55533,
    "c": 0.16558,
    "h": 328.8
  },
  "luminance": 0.15243
}

Semantic roles & 50–950 ramp

primary
#A548A2
secondary
#8CBD8D
accent
#CF5C59
background
#FCF8FB
surface
#F8EFF6
border
#D1CAD0
text
#130A12
muted
#827C81

Preview Lab

Preview with #A548A2

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

Preview Lab → · Contrast checker → · Palette generator →

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