#A548CB#A548CB

#A548CB is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 57.9% C 0.204 H 314.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#A548CB
RGBrgb(165, 72, 203)
HSLhsl(283, 56%, 54%)
HSVhsv(283, 65%, 80%)
CMYKcmyk(18.7%, 64.5%, 0%, 20.4%)
CIE-LABlab(48.19, 58.41, -51.68)
CIE-LCHlch(48.19, 77.99, 318.49°)
OKLaboklab(57.87% 0.1434 -0.1452)
OKLCHoklch(57.87% 0.204 314.6)
XYZxyz(28.6121, 16.9468, 58.2522)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A548CB #6ECB48
analogous
#6448CB #A548CB #CB48B0
triadic
#A548CB #CBA548 #48CBA5
tetradic
#A548CB #CB6448 #6ECB48 #48B0CB
square
#A548CB #CB6448 #6ECB48 #48B0CB
split-complementary
#A548CB #B0CB48 #48CB64
monochromatic
#5E2277 #842FA6 #A548CB #BC78D9 #D4A7E6

Accessibility & contrast

On white

4.78
#A548CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#A548CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A548CB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A548CB#FFFFFF#000000##FFFFFF
##A548CB1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A6DCF
Deuteranopia (green-blind)
#4475C8
Tritanopia (blue-blind)
#A26183
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a548cb;
/* rgb */ color: rgb(165, 72, 203);
/* oklch */ color: oklch(57.9% 0.204 314.6);
Tailwind
colors: {
  custom: {
    50: '#c381db',
    500: '#a548cb',
    950: '#000000',
  },
}
SCSS
$custom: #a548cb;
$custom-light: #c381db;
$custom-dark: #000000;
JSON
{
  "hex": "#a548cb",
  "rgb": {
    "r": 165,
    "g": 72,
    "b": 203
  },
  "hsl": {
    "h": 282.595,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57871,
    "c": 0.20411,
    "h": 314.6
  },
  "luminance": 0.16946
}

Semantic roles & 50–950 ramp

primary
#A548CB
secondary
#ACD39B
accent
#DF4974
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A548CB

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

Preview Lab → · Contrast checker → · Palette generator →

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