#A546AA#A546AA

#A546AA is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.7% C 0.176 H 325.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#A546AA
RGBrgb(165, 70, 170)
HSLhsl(297, 42%, 47%)
HSVhsv(297, 59%, 67%)
CMYKcmyk(2.9%, 58.8%, 0%, 33.3%)
CIE-LABlab(46.02, 52.87, -35.90)
CIE-LCHlch(46.02, 63.91, 325.82°)
OKLaboklab(55.7% 0.1451 -0.0992)
OKLCHoklch(55.7% 0.176 325.6)
XYZxyz(24.9624, 15.2834, 39.6576)
Luminance0.1528 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A546AA #4BAA46
analogous
#7346AA #A546AA #AA467D
triadic
#A546AA #AAA546 #46AAA5
tetradic
#A546AA #AA7346 #4BAA46 #467DAA
square
#A546AA #AA7346 #4BAA46 #467DAA
split-complementary
#A546AA #7DAA46 #46AA73
monochromatic
#512253 #7B347F #A546AA #BE6BC2 #D196D4

Accessibility & contrast

On white

5.18
#A546AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#A546AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A546AA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A546AA#FFFFFF#000000##FFFFFF
##A546AA1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3865AD
Deuteranopia (green-blind)
#5971A7
Tritanopia (blue-blind)
#A95371
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a546aa;
/* rgb */ color: rgb(165, 70, 170);
/* oklch */ color: oklch(55.7% 0.176 325.6);
Tailwind
colors: {
  custom: {
    50: '#c27fc3',
    500: '#a546aa',
    950: '#000000',
  },
}
SCSS
$custom: #a546aa;
$custom-light: #c27fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#a546aa",
  "rgb": {
    "r": 165,
    "g": 70,
    "b": 170
  },
  "hsl": {
    "h": 297,
    "s": 41.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55701,
    "c": 0.17578,
    "h": 325.6
  },
  "luminance": 0.15282
}

Semantic roles & 50–950 ramp

primary
#A546AA
secondary
#8FC08C
accent
#D1565C
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A12
muted
#827C81

Preview Lab

Preview with #A546AA

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

Preview Lab → · Contrast checker → · Palette generator →

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