#A545E4#A545E4

#A545E4 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 59.2% C 0.232 H 308.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#A545E4
RGBrgb(165, 69, 228)
HSLhsl(276, 75%, 58%)
HSVhsv(276, 70%, 89%)
CMYKcmyk(27.6%, 69.7%, 0%, 10.6%)
CIE-LABlab(49.32, 64.98, -64.13)
CIE-LCHlch(49.32, 91.30, 315.38°)
OKLaboklab(59.19% 0.1445 -0.1817)
OKLCHoklch(59.19% 0.232 308.5)
XYZxyz(31.6459, 17.8575, 75.1635)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A545E4 #84E445
analogous
#5545E4 #A545E4 #E445D4
triadic
#A545E4 #E4A545 #45E4A5
tetradic
#A545E4 #E45545 #84E445 #45D4E4
square
#A545E4 #E45545 #84E445 #45D4E4
split-complementary
#A545E4 #D4E445 #45E455
monochromatic
#651698 #881ECE #A545E4 #BF7AEC #D9B0F4

Accessibility & contrast

On white

4.59
#A545E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#A545E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A545E4
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A545E4#FFFFFF#000000##FFFFFF
##A545E41.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a545e4;
/* rgb */ color: rgb(165, 69, 228);
/* oklch */ color: oklch(59.2% 0.232 308.5);
Tailwind
colors: {
  custom: {
    50: '#c580ed',
    500: '#a545e4',
    950: '#000000',
  },
}
SCSS
$custom: #a545e4;
$custom-light: #c580ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a545e4",
  "rgb": {
    "r": 165,
    "g": 69,
    "b": 228
  },
  "hsl": {
    "h": 276.226,
    "s": 74.648,
    "l": 58.235
  },
  "oklch": {
    "l": 0.5919,
    "c": 0.23219,
    "h": 308.5
  },
  "luminance": 0.17857
}

Semantic roles & 50–950 ramp

primary
#A545E4
secondary
#BCE2A3
accent
#F13781
background
#FCF8FE
surface
#F9EFFD
border
#D2CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A545E4

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

Preview Lab → · Contrast checker → · Palette generator →

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