#A548D5#A548D5

#A548D5 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.5% C 0.214 H 311.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#A548D5
RGBrgb(165, 72, 213)
HSLhsl(280, 63%, 56%)
HSVhsv(280, 66%, 84%)
CMYKcmyk(22.5%, 66.2%, 0%, 16.5%)
CIE-LABlab(48.81, 60.49, -56.43)
CIE-LCHlch(48.81, 82.73, 316.99°)
OKLaboklab(58.51% 0.1429 -0.1592)
OKLCHoklch(58.51% 0.214 311.9)
XYZxyz(29.8425, 17.4389, 64.7319)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A548D5 #78D548
analogous
#5E48D5 #A548D5 #D548BF
triadic
#A548D5 #D5A548 #48D5A5
tetradic
#A548D5 #D55E48 #78D548 #48BFD5
square
#A548D5 #D55E48 #78D548 #48BFD5
split-complementary
#A548D5 #BFD548 #48D55E
monochromatic
#621E84 #862AB6 #A548D5 #BD7AE0 #D6ACEC

Accessibility & contrast

On white

4.68
#A548D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#A548D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A548D5
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A548D5#FFFFFF#000000##FFFFFF
##A548D51.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD9
Deuteranopia (green-blind)
#3A76D2
Tritanopia (blue-blind)
#9F6589
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a548d5;
/* rgb */ color: rgb(165, 72, 213);
/* oklch */ color: oklch(58.5% 0.214 311.9);
Tailwind
colors: {
  custom: {
    50: '#c481e3',
    500: '#a548d5',
    950: '#000000',
  },
}
SCSS
$custom: #a548d5;
$custom-light: #c481e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a548d5",
  "rgb": {
    "r": 165,
    "g": 72,
    "b": 213
  },
  "hsl": {
    "h": 279.574,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58511,
    "c": 0.21388,
    "h": 311.9
  },
  "luminance": 0.17438
}

Semantic roles & 50–950 ramp

primary
#A548D5
secondary
#B3DA9F
accent
#E6427A
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B15
muted
#827C84

Preview Lab

Preview with #A548D5

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

Preview Lab → · Contrast checker → · Palette generator →

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