#A546D9#A546D9

#A546D9 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.5% C 0.220 H 311.1°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#A546D9
RGBrgb(165, 70, 217)
HSLhsl(279, 66%, 56%)
HSVhsv(279, 68%, 85%)
CMYKcmyk(24%, 67.7%, 0%, 14.9%)
CIE-LABlab(48.75, 62.21, -58.81)
CIE-LCHlch(48.75, 85.61, 316.61°)
OKLaboklab(58.55% 0.1447 -0.1661)
OKLCHoklch(58.55% 0.22 311.1)
XYZxyz(30.2292, 17.3901, 67.3964)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A546D9 #7AD946
analogous
#5C46D9 #A546D9 #D946C3
triadic
#A546D9 #D9A546 #46D9A5
tetradic
#A546D9 #D95C46 #7AD946 #46C3D9
square
#A546D9 #D95C46 #7AD946 #46C3D9
split-complementary
#A546D9 #C3D946 #46D95C
monochromatic
#621C89 #8726BB #A546D9 #BE79E3 #D6ACEE

Accessibility & contrast

On white

4.69
#A546D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#A546D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A546D9
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A546D9#FFFFFF#000000##FFFFFF
##A546D91.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDD
Deuteranopia (green-blind)
#3375D6
Tritanopia (blue-blind)
#9E658A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a546d9;
/* rgb */ color: rgb(165, 70, 217);
/* oklch */ color: oklch(58.5% 0.220 311.1);
Tailwind
colors: {
  custom: {
    50: '#c480e5',
    500: '#a546d9',
    950: '#000000',
  },
}
SCSS
$custom: #a546d9;
$custom-light: #c480e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a546d9",
  "rgb": {
    "r": 165,
    "g": 70,
    "b": 217
  },
  "hsl": {
    "h": 278.776,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58549,
    "c": 0.22032,
    "h": 311.1
  },
  "luminance": 0.17389
}

Semantic roles & 50–950 ramp

primary
#A546D9
secondary
#B5DC9F
accent
#E93F7B
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A546D9

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

Preview Lab → · Contrast checker → · Palette generator →

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