#A548B9#A548B9

#A548B9 is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.8% C 0.187 H 320.2°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#A548B9
RGBrgb(165, 72, 185)
HSLhsl(289, 45%, 50%)
HSVhsv(289, 61%, 73%)
CMYKcmyk(10.8%, 61.1%, 0%, 27.5%)
CIE-LABlab(47.16, 54.79, -42.91)
CIE-LCHlch(47.16, 69.59, 321.94°)
OKLaboklab(56.79% 0.1435 -0.1196)
OKLCHoklch(56.79% 0.187 320.2)
XYZxyz(26.5903, 16.1381, 47.6039)
Luminance0.1614 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A548B9 #5CB948
analogous
#6D48B9 #A548B9 #B94894
triadic
#A548B9 #B9A548 #48B9A5
tetradic
#A548B9 #B96D48 #5CB948 #4894B9
square
#A548B9 #B96D48 #5CB948 #4894B9
split-complementary
#A548B9 #94B948 #48B96D
monochromatic
#572561 #7E368E #A548B9 #BB74CA #D1A1DB

Accessibility & contrast

On white

4.97
#A548B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#A548B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A548B9
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A548B9#FFFFFF#000000##FFFFFF
##A548B91.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D69BC
Deuteranopia (green-blind)
#5273B6
Tritanopia (blue-blind)
#A65A7A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a548b9;
/* rgb */ color: rgb(165, 72, 185);
/* oklch */ color: oklch(56.8% 0.187 320.2);
Tailwind
colors: {
  custom: {
    50: '#c381ce',
    500: '#a548b9',
    950: '#000000',
  },
}
SCSS
$custom: #a548b9;
$custom-light: #c381ce;
$custom-dark: #000000;
JSON
{
  "hex": "#a548b9",
  "rgb": {
    "r": 165,
    "g": 72,
    "b": 185
  },
  "hsl": {
    "h": 289.381,
    "s": 44.664,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56786,
    "c": 0.18676,
    "h": 320.2
  },
  "luminance": 0.16137
}

Semantic roles & 50–950 ramp

primary
#A548B9
secondary
#9EC895
accent
#D4536A
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A548B9

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

Preview Lab → · Contrast checker → · Palette generator →

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