#A548E1#A548E1

#A548E1 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.3% C 0.226 H 308.9°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#A548E1
RGBrgb(165, 72, 225)
HSLhsl(276, 72%, 58%)
HSVhsv(276, 68%, 88%)
CMYKcmyk(26.7%, 68%, 0%, 11.8%)
CIE-LABlab(49.58, 63.05, -62.01)
CIE-LCHlch(49.58, 88.44, 315.47°)
OKLaboklab(59.31% 0.1418 -0.1755)
OKLCHoklch(59.31% 0.226 308.9)
XYZxyz(31.4223, 18.0709, 73.0523)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A548E1 #84E148
analogous
#5848E1 #A548E1 #E148D0
triadic
#A548E1 #E1A548 #48E1A5
tetradic
#A548E1 #E15848 #84E148 #48D0E1
square
#A548E1 #E15848 #84E148 #48D0E1
split-complementary
#A548E1 #D0E148 #48E158
monochromatic
#651996 #8821CB #A548E1 #BF7DEA #D9B1F2

Accessibility & contrast

On white

4.55
#A548E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#A548E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A548E1
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A548E1#FFFFFF#000000##000000
##A548E11.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E6
Deuteranopia (green-blind)
#2977DE
Tritanopia (blue-blind)
#9C698F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a548e1;
/* rgb */ color: rgb(165, 72, 225);
/* oklch */ color: oklch(59.3% 0.226 308.9);
Tailwind
colors: {
  custom: {
    50: '#c482eb',
    500: '#a548e1',
    950: '#000000',
  },
}
SCSS
$custom: #a548e1;
$custom-light: #c482eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a548e1",
  "rgb": {
    "r": 165,
    "g": 72,
    "b": 225
  },
  "hsl": {
    "h": 276.471,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59312,
    "c": 0.22567,
    "h": 308.9
  },
  "luminance": 0.1807
}

Semantic roles & 50–950 ramp

primary
#A548E1
secondary
#BCE1A4
accent
#EF3980
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A548E1

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

Preview Lab → · Contrast checker → · Palette generator →

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