#A545E3#A545E3

#A545E3 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 59.1% C 0.231 H 308.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#A545E3
RGBrgb(165, 69, 227)
HSLhsl(276, 74%, 58%)
HSVhsv(276, 70%, 89%)
CMYKcmyk(27.3%, 69.6%, 0%, 11%)
CIE-LABlab(49.26, 64.77, -63.68)
CIE-LCHlch(49.26, 90.83, 315.49°)
OKLaboklab(59.12% 0.1446 -0.1804)
OKLCHoklch(59.12% 0.231 308.7)
XYZxyz(31.5075, 17.8022, 74.4345)
Luminance0.1780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A545E3 #83E345
analogous
#5645E3 #A545E3 #E345D2
triadic
#A545E3 #E3A545 #45E3A5
tetradic
#A545E3 #E35645 #83E345 #45D2E3
square
#A545E3 #E35645 #83E345 #45D2E3
split-complementary
#A545E3 #D2E345 #45E356
monochromatic
#651797 #881FCC #A545E3 #BF7AEB #D8AFF3

Accessibility & contrast

On white

4.60
#A545E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#A545E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A545E3
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A545E3#FFFFFF#000000##FFFFFF
##A545E31.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E8
Deuteranopia (green-blind)
#2076E0
Tritanopia (blue-blind)
#9C688F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a545e3;
/* rgb */ color: rgb(165, 69, 227);
/* oklch */ color: oklch(59.1% 0.231 308.7);
Tailwind
colors: {
  custom: {
    50: '#c580ed',
    500: '#a545e3',
    950: '#000000',
  },
}
SCSS
$custom: #a545e3;
$custom-light: #c580ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a545e3",
  "rgb": {
    "r": 165,
    "g": 69,
    "b": 227
  },
  "hsl": {
    "h": 276.456,
    "s": 73.832,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59121,
    "c": 0.23122,
    "h": 308.7
  },
  "luminance": 0.17802
}

Semantic roles & 50–950 ramp

primary
#A545E3
secondary
#BBE1A2
accent
#F03780
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A545E3

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

Preview Lab → · Contrast checker → · Palette generator →

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