#A548C4#A548C4

#A548C4 is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.4% C 0.197 H 316.7°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#A548C4
RGBrgb(165, 72, 196)
HSLhsl(285, 51%, 53%)
HSVhsv(285, 63%, 77%)
CMYKcmyk(15.8%, 63.3%, 0%, 23.1%)
CIE-LABlab(47.78, 56.98, -48.31)
CIE-LCHlch(47.78, 74.70, 319.71°)
OKLaboklab(57.44% 0.1436 -0.1353)
OKLCHoklch(57.44% 0.197 316.7)
XYZxyz(27.7967, 16.6206, 53.9577)
Luminance0.1662 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A548C4 #67C448
analogous
#6748C4 #A548C4 #C448A5
triadic
#A548C4 #C4A548 #48C4A5
tetradic
#A548C4 #C46748 #67C448 #48A5C4
square
#A548C4 #C46748 #67C448 #48A5C4
split-complementary
#A548C4 #A5C448 #48C467
monochromatic
#5B236E #82329C #A548C4 #BC76D3 #D3A5E2

Accessibility & contrast

On white

4.86
#A548C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#A548C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A548C4
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A548C4#FFFFFF#000000##FFFFFF
##A548C41.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D6CC8
Deuteranopia (green-blind)
#4A74C1
Tritanopia (blue-blind)
#A45E80
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a548c4;
/* rgb */ color: rgb(165, 72, 196);
/* oklch */ color: oklch(57.4% 0.197 316.7);
Tailwind
colors: {
  custom: {
    50: '#c381d6',
    500: '#a548c4',
    950: '#000000',
  },
}
SCSS
$custom: #a548c4;
$custom-light: #c381d6;
$custom-dark: #000000;
JSON
{
  "hex": "#a548c4",
  "rgb": {
    "r": 165,
    "g": 72,
    "b": 196
  },
  "hsl": {
    "h": 285,
    "s": 51.24,
    "l": 52.549
  },
  "oklch": {
    "l": 0.57439,
    "c": 0.19732,
    "h": 316.7
  },
  "luminance": 0.1662
}

Semantic roles & 50–950 ramp

primary
#A548C4
secondary
#A6CF99
accent
#DB4D70
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A548C4

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

Preview Lab → · Contrast checker → · Palette generator →

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