#A545D9#A545D9

#A545D9 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.4% C 0.222 H 311.1°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#A545D9
RGBrgb(165, 69, 217)
HSLhsl(279, 66%, 56%)
HSVhsv(279, 68%, 85%)
CMYKcmyk(24%, 68.2%, 0%, 14.9%)
CIE-LABlab(48.59, 62.64, -59.06)
CIE-LCHlch(48.59, 86.10, 316.69°)
OKLaboklab(58.44% 0.1458 -0.1668)
OKLCHoklch(58.44% 0.222 311.1)
XYZxyz(30.1672, 17.2661, 67.3757)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A545D9 #79D945
analogous
#5B45D9 #A545D9 #D945C3
triadic
#A545D9 #D9A545 #45D9A5
tetradic
#A545D9 #D95B45 #79D945 #45C3D9
square
#A545D9 #D95B45 #79D945 #45C3D9
split-complementary
#A545D9 #C3D945 #45D95B
monochromatic
#621C88 #8626BB #A545D9 #BE78E3 #D6ABEE

Accessibility & contrast

On white

4.72
#A545D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#A545D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A545D9
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A545D9#FFFFFF#000000##FFFFFF
##A545D91.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDD
Deuteranopia (green-blind)
#3175D6
Tritanopia (blue-blind)
#9E648A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a545d9;
/* rgb */ color: rgb(165, 69, 217);
/* oklch */ color: oklch(58.4% 0.222 311.1);
Tailwind
colors: {
  custom: {
    50: '#c480e5',
    500: '#a545d9',
    950: '#000000',
  },
}
SCSS
$custom: #a545d9;
$custom-light: #c480e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a545d9",
  "rgb": {
    "r": 165,
    "g": 69,
    "b": 217
  },
  "hsl": {
    "h": 278.919,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58439,
    "c": 0.22156,
    "h": 311.1
  },
  "luminance": 0.17265
}

Semantic roles & 50–950 ramp

primary
#A545D9
secondary
#B4DB9E
accent
#E93F7B
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A545D9

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

Preview Lab → · Contrast checker → · Palette generator →

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