#A548C2#A548C2

#A548C2 is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.3% C 0.195 H 317.3°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#A548C2
RGBrgb(165, 72, 194)
HSLhsl(286, 50%, 52%)
HSVhsv(286, 63%, 76%)
CMYKcmyk(14.9%, 62.9%, 0%, 23.9%)
CIE-LABlab(47.66, 56.58, -47.33)
CIE-LCHlch(47.66, 73.76, 320.08°)
OKLaboklab(57.32% 0.1436 -0.1325)
OKLCHoklch(57.32% 0.195 317.3)
XYZxyz(27.5706, 16.5302, 52.7668)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A548C2 #65C248
analogous
#6848C2 #A548C2 #C248A2
triadic
#A548C2 #C2A548 #48C2A5
tetradic
#A548C2 #C26848 #65C248 #48A2C2
square
#A548C2 #C26848 #65C248 #48A2C2
split-complementary
#A548C2 #A2C248 #48C268
monochromatic
#5B246C #81339A #A548C2 #BC76D1 #D2A4E1

Accessibility & contrast

On white

4.88
#A548C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#A548C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A548C2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A548C2#FFFFFF#000000##FFFFFF
##A548C21.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#216BC6
Deuteranopia (green-blind)
#4B74BF
Tritanopia (blue-blind)
#A45D7F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a548c2;
/* rgb */ color: rgb(165, 72, 194);
/* oklch */ color: oklch(57.3% 0.195 317.3);
Tailwind
colors: {
  custom: {
    50: '#c381d5',
    500: '#a548c2',
    950: '#000000',
  },
}
SCSS
$custom: #a548c2;
$custom-light: #c381d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a548c2",
  "rgb": {
    "r": 165,
    "g": 72,
    "b": 194
  },
  "hsl": {
    "h": 285.738,
    "s": 50,
    "l": 52.157
  },
  "oklch": {
    "l": 0.57317,
    "c": 0.19538,
    "h": 317.3
  },
  "luminance": 0.16529
}

Semantic roles & 50–950 ramp

primary
#A548C2
secondary
#A5CE98
accent
#DA4E6F
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A548C2

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

Preview Lab → · Contrast checker → · Palette generator →

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