#A548B5#A548B5

#A548B5 is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.6% C 0.183 H 321.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#A548B5
RGBrgb(165, 72, 181)
HSLhsl(291, 43%, 50%)
HSVhsv(291, 60%, 71%)
CMYKcmyk(8.8%, 60.2%, 0%, 29%)
CIE-LABlab(46.94, 54.02, -40.92)
CIE-LCHlch(46.94, 67.76, 322.86°)
OKLaboklab(56.56% 0.1433 -0.1138)
OKLCHoklch(56.56% 0.183 321.5)
XYZxyz(26.1740, 15.9715, 45.4112)
Luminance0.1597 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A548B5 #58B548
analogous
#6F48B5 #A548B5 #B5488E
triadic
#A548B5 #B5A548 #48B5A5
tetradic
#A548B5 #B56F48 #58B548 #488EB5
square
#A548B5 #B56F48 #58B548 #488EB5
split-complementary
#A548B5 #8EB548 #48B56F
monochromatic
#55255D #7D3789 #A548B5 #BB73C7 #D09FD9

Accessibility & contrast

On white

5.01
#A548B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#A548B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A548B5
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A548B5#FFFFFF#000000##FFFFFF
##A548B51.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3169B8
Deuteranopia (green-blind)
#5473B2
Tritanopia (blue-blind)
#A75978
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a548b5;
/* rgb */ color: rgb(165, 72, 181);
/* oklch */ color: oklch(56.6% 0.183 321.5);
Tailwind
colors: {
  custom: {
    50: '#c280cb',
    500: '#a548b5',
    950: '#000000',
  },
}
SCSS
$custom: #a548b5;
$custom-light: #c280cb;
$custom-dark: #000000;
JSON
{
  "hex": "#a548b5",
  "rgb": {
    "r": 165,
    "g": 72,
    "b": 181
  },
  "hsl": {
    "h": 291.193,
    "s": 43.083,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56557,
    "c": 0.18298,
    "h": 321.5
  },
  "luminance": 0.1597
}

Semantic roles & 50–950 ramp

primary
#A548B5
secondary
#9BC593
accent
#D35567
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B13
muted
#827C82

Preview Lab

Preview with #A548B5

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

Preview Lab → · Contrast checker → · Palette generator →

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