#A546BA#A546BA

#A546BA is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.6% C 0.191 H 320.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#A546BA
RGBrgb(165, 70, 186)
HSLhsl(289, 46%, 50%)
HSVhsv(289, 62%, 73%)
CMYKcmyk(11.3%, 62.4%, 0%, 27.1%)
CIE-LABlab(46.88, 55.90, -43.93)
CIE-LCHlch(46.88, 71.10, 321.84°)
OKLaboklab(56.6% 0.1459 -0.1226)
OKLCHoklch(56.6% 0.191 320)
XYZxyz(26.5690, 15.9260, 48.1194)
Luminance0.1593 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A546BA #5BBA46
analogous
#6B46BA #A546BA #BA4695
triadic
#A546BA #BAA546 #46BAA5
tetradic
#A546BA #BA6B46 #5BBA46 #4695BA
square
#A546BA #BA6B46 #5BBA46 #4695BA
split-complementary
#A546BA #95BA46 #46BA6B
monochromatic
#562461 #7E358E #A546BA #BB73CB #D09FDB

Accessibility & contrast

On white

5.02
#A546BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#A546BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A546BA
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A546BA#FFFFFF#000000##FFFFFF
##A546BA1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2869BE
Deuteranopia (green-blind)
#4F73B7
Tritanopia (blue-blind)
#A6597A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a546ba;
/* rgb */ color: rgb(165, 70, 186);
/* oklch */ color: oklch(56.6% 0.191 320.0);
Tailwind
colors: {
  custom: {
    50: '#c37fcf',
    500: '#a546ba',
    950: '#000000',
  },
}
SCSS
$custom: #a546ba;
$custom-light: #c37fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#a546ba",
  "rgb": {
    "r": 165,
    "g": 70,
    "b": 186
  },
  "hsl": {
    "h": 289.138,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56602,
    "c": 0.19058,
    "h": 320
  },
  "luminance": 0.15925
}

Semantic roles & 50–950 ramp

primary
#A546BA
secondary
#9DC894
accent
#D5526A
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82

Preview Lab

Preview with #A546BA

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

Preview Lab → · Contrast checker → · Palette generator →

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