#A546DC#A546DC

#A546DC is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.8% C 0.223 H 310.3°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#A546DC
RGBrgb(165, 70, 220)
HSLhsl(278, 68%, 57%)
HSVhsv(278, 68%, 86%)
CMYKcmyk(25%, 68.2%, 0%, 13.7%)
CIE-LABlab(48.94, 62.85, -60.21)
CIE-LCHlch(48.94, 87.03, 316.23°)
OKLaboklab(58.75% 0.1444 -0.1702)
OKLCHoklch(58.75% 0.223 310.3)
XYZxyz(30.6230, 17.5476, 69.4701)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A546DC #7DDC46
analogous
#5A46DC #A546DC #DC46C8
triadic
#A546DC #DCA546 #46DCA5
tetradic
#A546DC #DC5A46 #7DDC46 #46C8DC
square
#A546DC #DC5A46 #7DDC46 #46C8DC
split-complementary
#A546DC #C8DC46 #46DC5A
monochromatic
#631B8D #8724C0 #A546DC #BE79E6 #D7ADEF

Accessibility & contrast

On white

4.66
#A546DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#A546DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A546DC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A546DC#FFFFFF#000000##FFFFFF
##A546DC1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#2E76D9
Tritanopia (blue-blind)
#9E668C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a546dc;
/* rgb */ color: rgb(165, 70, 220);
/* oklch */ color: oklch(58.8% 0.223 310.3);
Tailwind
colors: {
  custom: {
    50: '#c480e8',
    500: '#a546dc',
    950: '#000000',
  },
}
SCSS
$custom: #a546dc;
$custom-light: #c480e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a546dc",
  "rgb": {
    "r": 165,
    "g": 70,
    "b": 220
  },
  "hsl": {
    "h": 278,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5875,
    "c": 0.22324,
    "h": 310.3
  },
  "luminance": 0.17547
}

Semantic roles & 50–950 ramp

primary
#A546DC
secondary
#B7DDA0
accent
#EB3D7D
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A546DC

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

Preview Lab → · Contrast checker → · Palette generator →

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