#A548B2#A548B2

#A548B2 is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.4% C 0.180 H 322.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#A548B2
RGBrgb(165, 72, 178)
HSLhsl(293, 42%, 49%)
HSVhsv(293, 60%, 70%)
CMYKcmyk(7.3%, 59.6%, 0%, 30.2%)
CIE-LABlab(46.78, 53.44, -39.41)
CIE-LCHlch(46.78, 66.40, 323.59°)
OKLaboklab(56.39% 0.1431 -0.1094)
OKLCHoklch(56.39% 0.18 322.6)
XYZxyz(25.8695, 15.8497, 43.8075)
Luminance0.1585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A548B2 #55B248
analogous
#7048B2 #A548B2 #B2488A
triadic
#A548B2 #B2A548 #48B2A5
tetradic
#A548B2 #B27048 #55B248 #488AB2
square
#A548B2 #B27048 #55B248 #488AB2
split-complementary
#A548B2 #8AB248 #48B270
monochromatic
#54255B #7D3686 #A548B2 #BB71C6 #D09DD7

Accessibility & contrast

On white

5.04
#A548B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#A548B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A548B2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A548B2#FFFFFF#000000##FFFFFF
##A548B21.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3468B5
Deuteranopia (green-blind)
#5673AF
Tritanopia (blue-blind)
#A75876
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a548b2;
/* rgb */ color: rgb(165, 72, 178);
/* oklch */ color: oklch(56.4% 0.180 322.6);
Tailwind
colors: {
  custom: {
    50: '#c280c9',
    500: '#a548b2',
    950: '#000000',
  },
}
SCSS
$custom: #a548b2;
$custom-light: #c280c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a548b2",
  "rgb": {
    "r": 165,
    "g": 72,
    "b": 178
  },
  "hsl": {
    "h": 292.642,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56388,
    "c": 0.18016,
    "h": 322.6
  },
  "luminance": 0.15848
}

Semantic roles & 50–950 ramp

primary
#A548B2
secondary
#98C492
accent
#D25665
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82

Preview Lab

Preview with #A548B2

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

Preview Lab → · Contrast checker → · Palette generator →

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