#A548D8#A548D8

#A548D8 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.7% C 0.217 H 311.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#A548D8
RGBrgb(165, 72, 216)
HSLhsl(279, 65%, 56%)
HSVhsv(279, 67%, 85%)
CMYKcmyk(23.6%, 66.7%, 0%, 15.3%)
CIE-LABlab(49.00, 61.12, -57.84)
CIE-LCHlch(49.00, 84.15, 316.58°)
OKLaboklab(58.71% 0.1427 -0.1633)
OKLCHoklch(58.71% 0.217 311.1)
XYZxyz(30.2268, 17.5926, 66.7559)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A548D8 #7BD848
analogous
#5D48D8 #A548D8 #D848C3
triadic
#A548D8 #D8A548 #48D8A5
tetradic
#A548D8 #D85D48 #7BD848 #48C3D8
square
#A548D8 #D85D48 #7BD848 #48C3D8
split-complementary
#A548D8 #C3D848 #48D85D
monochromatic
#621D89 #8728BB #A548D8 #BE7AE3 #D7ADEE

Accessibility & contrast

On white

4.65
#A548D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#A548D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A548D8
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A548D8#FFFFFF#000000##FFFFFF
##A548D81.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DC
Deuteranopia (green-blind)
#3676D5
Tritanopia (blue-blind)
#9F668A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a548d8;
/* rgb */ color: rgb(165, 72, 216);
/* oklch */ color: oklch(58.7% 0.217 311.1);
Tailwind
colors: {
  custom: {
    50: '#c481e5',
    500: '#a548d8',
    950: '#000000',
  },
}
SCSS
$custom: #a548d8;
$custom-light: #c481e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a548d8",
  "rgb": {
    "r": 165,
    "g": 72,
    "b": 216
  },
  "hsl": {
    "h": 278.75,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58708,
    "c": 0.21683,
    "h": 311.1
  },
  "luminance": 0.17592
}

Semantic roles & 50–950 ramp

primary
#A548D8
secondary
#B5DBA0
accent
#E8407B
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A548D8

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

Preview Lab → · Contrast checker → · Palette generator →

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