#A548D7#A548D7

#A548D7 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.6% C 0.216 H 311.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#A548D7
RGBrgb(165, 72, 215)
HSLhsl(279, 64%, 56%)
HSVhsv(279, 67%, 84%)
CMYKcmyk(23.3%, 66.5%, 0%, 15.7%)
CIE-LABlab(48.93, 60.91, -57.37)
CIE-LCHlch(48.93, 83.68, 316.71°)
OKLaboklab(58.64% 0.1427 -0.1619)
OKLCHoklch(58.64% 0.216 311.4)
XYZxyz(30.0979, 17.5411, 66.0771)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A548D7 #7AD748
analogous
#5E48D7 #A548D7 #D748C2
triadic
#A548D7 #D7A548 #48D7A5
tetradic
#A548D7 #D75E48 #7AD748 #48C2D7
square
#A548D7 #D75E48 #7AD748 #48C2D7
split-complementary
#A548D7 #C2D748 #48D75E
monochromatic
#621E87 #8729B9 #A548D7 #BE7AE2 #D6ACED

Accessibility & contrast

On white

4.66
#A548D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#A548D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A548D7
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A548D7#FFFFFF#000000##FFFFFF
##A548D71.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DB
Deuteranopia (green-blind)
#3876D4
Tritanopia (blue-blind)
#9F658A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a548d7;
/* rgb */ color: rgb(165, 72, 215);
/* oklch */ color: oklch(58.6% 0.216 311.4);
Tailwind
colors: {
  custom: {
    50: '#c481e4',
    500: '#a548d7',
    950: '#000000',
  },
}
SCSS
$custom: #a548d7;
$custom-light: #c481e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a548d7",
  "rgb": {
    "r": 165,
    "g": 72,
    "b": 215
  },
  "hsl": {
    "h": 279.021,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58642,
    "c": 0.21585,
    "h": 311.4
  },
  "luminance": 0.1754
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A548D7

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

Preview Lab → · Contrast checker → · Palette generator →

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