#A546E4#A546E4

#A546E4 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 59.3% C 0.231 H 308.4°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#A546E4
RGBrgb(165, 70, 228)
HSLhsl(276, 75%, 58%)
HSVhsv(276, 69%, 89%)
CMYKcmyk(27.6%, 69.3%, 0%, 10.6%)
CIE-LABlab(49.47, 64.56, -63.89)
CIE-LCHlch(49.47, 90.83, 315.30°)
OKLaboklab(59.3% 0.1435 -0.181)
OKLCHoklch(59.3% 0.231 308.4)
XYZxyz(31.7079, 17.9816, 75.1842)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A546E4 #85E446
analogous
#5646E4 #A546E4 #E446D4
triadic
#A546E4 #E4A546 #46E4A5
tetradic
#A546E4 #E45646 #85E446 #46D4E4
square
#A546E4 #E45646 #85E446 #46D4E4
split-complementary
#A546E4 #D4E446 #46E456
monochromatic
#651699 #881ECF #A546E4 #BF7BEC #D9B1F4

Accessibility & contrast

On white

4.57
#A546E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#A546E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A546E4
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A546E4#FFFFFF#000000##000000
##A546E41.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E9
Deuteranopia (green-blind)
#1F77E1
Tritanopia (blue-blind)
#9B6990
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a546e4;
/* rgb */ color: rgb(165, 70, 228);
/* oklch */ color: oklch(59.3% 0.231 308.4);
Tailwind
colors: {
  custom: {
    50: '#c581ed',
    500: '#a546e4',
    950: '#000000',
  },
}
SCSS
$custom: #a546e4;
$custom-light: #c581ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a546e4",
  "rgb": {
    "r": 165,
    "g": 70,
    "b": 228
  },
  "hsl": {
    "h": 276.076,
    "s": 74.528,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59298,
    "c": 0.23101,
    "h": 308.4
  },
  "luminance": 0.17981
}

Semantic roles & 50–950 ramp

primary
#A546E4
secondary
#BDE2A4
accent
#F13781
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A546E4

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

Preview Lab → · Contrast checker → · Palette generator →

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