#A546E5#A546E5

#A546E5 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 59.4% C 0.232 H 308.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#A546E5
RGBrgb(165, 70, 229)
HSLhsl(276, 75%, 59%)
HSVhsv(276, 69%, 90%)
CMYKcmyk(27.9%, 69.4%, 0%, 10.2%)
CIE-LABlab(49.54, 64.77, -64.34)
CIE-LCHlch(49.54, 91.30, 315.19°)
OKLaboklab(59.37% 0.1434 -0.1824)
OKLCHoklch(59.37% 0.232 308.2)
XYZxyz(31.8471, 18.0373, 75.9174)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A546E5 #86E546
analogous
#5546E5 #A546E5 #E546D5
triadic
#A546E5 #E5A546 #46E5A5
tetradic
#A546E5 #E55546 #86E546 #46D5E5
square
#A546E5 #E55546 #86E546 #46D5E5
split-complementary
#A546E5 #D5E546 #46E555
monochromatic
#65169B #881DD0 #A546E5 #BF7CED #D9B1F4

Accessibility & contrast

On white

4.56
#A546E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#A546E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A546E5
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A546E5#FFFFFF#000000##000000
##A546E51.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072EA
Deuteranopia (green-blind)
#1D77E2
Tritanopia (blue-blind)
#9B6A91
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a546e5;
/* rgb */ color: rgb(165, 70, 229);
/* oklch */ color: oklch(59.4% 0.232 308.2);
Tailwind
colors: {
  custom: {
    50: '#c581ee',
    500: '#a546e5',
    950: '#000000',
  },
}
SCSS
$custom: #a546e5;
$custom-light: #c581ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a546e5",
  "rgb": {
    "r": 165,
    "g": 70,
    "b": 229
  },
  "hsl": {
    "h": 275.849,
    "s": 75.355,
    "l": 58.627
  },
  "oklch": {
    "l": 0.59367,
    "c": 0.23198,
    "h": 308.2
  },
  "luminance": 0.18037
}

Semantic roles & 50–950 ramp

primary
#A546E5
secondary
#BDE3A4
accent
#F23682
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A546E5

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

Preview Lab → · Contrast checker → · Palette generator →

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