#A548E5#A548E5

#A548E5 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.6% C 0.230 H 308.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#A548E5
RGBrgb(165, 72, 229)
HSLhsl(276, 75%, 59%)
HSVhsv(276, 69%, 90%)
CMYKcmyk(27.9%, 68.6%, 0%, 10.2%)
CIE-LABlab(49.85, 63.91, -63.85)
CIE-LCHlch(49.85, 90.34, 315.03°)
OKLaboklab(59.59% 0.1414 -0.1809)
OKLCHoklch(59.59% 0.23 308)
XYZxyz(31.9743, 18.2917, 75.9598)
Luminance0.1829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A548E5 #88E548
analogous
#5748E5 #A548E5 #E548D7
triadic
#A548E5 #E5A548 #48E5A5
tetradic
#A548E5 #E55748 #88E548 #48D7E5
square
#A548E5 #E55748 #88E548 #48D7E5
split-complementary
#A548E5 #D7E548 #48E557
monochromatic
#66169C #891ED2 #A548E5 #BF7EED #DAB3F4

Accessibility & contrast

On white

4.51
#A548E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#A548E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A548E5
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A548E5#FFFFFF#000000##000000
##A548E51.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073EA
Deuteranopia (green-blind)
#2177E2
Tritanopia (blue-blind)
#9B6B91
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a548e5;
/* rgb */ color: rgb(165, 72, 229);
/* oklch */ color: oklch(59.6% 0.230 308.0);
Tailwind
colors: {
  custom: {
    50: '#c582ee',
    500: '#a548e5',
    950: '#000000',
  },
}
SCSS
$custom: #a548e5;
$custom-light: #c582ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a548e5",
  "rgb": {
    "r": 165,
    "g": 72,
    "b": 229
  },
  "hsl": {
    "h": 275.541,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59586,
    "c": 0.2296,
    "h": 308
  },
  "luminance": 0.18291
}

Semantic roles & 50–950 ramp

primary
#A548E5
secondary
#BFE3A6
accent
#F23683
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A548E5

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

Preview Lab → · Contrast checker → · Palette generator →

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