#A548D9#A548D9

#A548D9 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.8% C 0.218 H 310.9°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#A548D9
RGBrgb(165, 72, 217)
HSLhsl(278, 66%, 57%)
HSVhsv(278, 67%, 85%)
CMYKcmyk(24%, 66.8%, 0%, 14.9%)
CIE-LABlab(49.06, 61.34, -58.31)
CIE-LCHlch(49.06, 84.63, 316.45°)
OKLaboklab(58.77% 0.1426 -0.1646)
OKLCHoklch(58.77% 0.218 310.9)
XYZxyz(30.3564, 17.6445, 67.4388)
Luminance0.1764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A548D9 #7CD948
analogous
#5D48D9 #A548D9 #D948C4
triadic
#A548D9 #D9A548 #48D9A5
tetradic
#A548D9 #D95D48 #7CD948 #48C4D9
square
#A548D9 #D95D48 #7CD948 #48C4D9
split-complementary
#A548D9 #C4D948 #48D95D
monochromatic
#631D8A #8727BD #A548D9 #BE7BE4 #D7ADEE

Accessibility & contrast

On white

4.64
#A548D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#A548D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A548D9
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A548D9#FFFFFF#000000##FFFFFF
##A548D91.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#3576D6
Tritanopia (blue-blind)
#9E668B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a548d9;
/* rgb */ color: rgb(165, 72, 217);
/* oklch */ color: oklch(58.8% 0.218 310.9);
Tailwind
colors: {
  custom: {
    50: '#c481e5',
    500: '#a548d9',
    950: '#000000',
  },
}
SCSS
$custom: #a548d9;
$custom-light: #c481e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a548d9",
  "rgb": {
    "r": 165,
    "g": 72,
    "b": 217
  },
  "hsl": {
    "h": 278.483,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58774,
    "c": 0.21781,
    "h": 310.9
  },
  "luminance": 0.17644
}

Semantic roles & 50–950 ramp

primary
#A548D9
secondary
#B6DCA1
accent
#E93F7C
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A548D9

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

Preview Lab → · Contrast checker → · Palette generator →

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