#A548BC#A548BC

#A548BC is a mid, vivid purple. Relative luminance 0.163; OKLCH L 57.0% C 0.190 H 319.2°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#A548BC
RGBrgb(165, 72, 188)
HSLhsl(288, 46%, 51%)
HSVhsv(288, 62%, 74%)
CMYKcmyk(12.2%, 61.7%, 0%, 26.3%)
CIE-LABlab(47.32, 55.38, -44.39)
CIE-LCHlch(47.32, 70.98, 321.29°)
OKLaboklab(56.96% 0.1435 -0.1239)
OKLCHoklch(56.96% 0.19 319.2)
XYZxyz(26.9103, 16.2661, 49.2894)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A548BC #5FBC48
analogous
#6B48BC #A548BC #BC4899
triadic
#A548BC #BCA548 #48BCA5
tetradic
#A548BC #BC6B48 #5FBC48 #4899BC
square
#A548BC #BC6B48 #5FBC48 #4899BC
split-complementary
#A548BC #99BC48 #48BC6B
monochromatic
#582565 #7F3592 #A548BC #BB75CC #D1A2DD

Accessibility & contrast

On white

4.94
#A548BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#A548BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A548BC
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A548BC#FFFFFF#000000##FFFFFF
##A548BC1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296AC0
Deuteranopia (green-blind)
#5073B9
Tritanopia (blue-blind)
#A55B7B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a548bc;
/* rgb */ color: rgb(165, 72, 188);
/* oklch */ color: oklch(57.0% 0.190 319.2);
Tailwind
colors: {
  custom: {
    50: '#c381d1',
    500: '#a548bc',
    950: '#000000',
  },
}
SCSS
$custom: #a548bc;
$custom-light: #c381d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a548bc",
  "rgb": {
    "r": 165,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 288.103,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5696,
    "c": 0.18962,
    "h": 319.2
  },
  "luminance": 0.16265
}

Semantic roles & 50–950 ramp

primary
#A548BC
secondary
#A0CA96
accent
#D6526C
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A548BC

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

Preview Lab → · Contrast checker → · Palette generator →

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