#A545E2#A545E2

#A545E2 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 59.1% C 0.230 H 309.0°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#A545E2
RGBrgb(165, 69, 226)
HSLhsl(277, 73%, 58%)
HSVhsv(277, 69%, 89%)
CMYKcmyk(27%, 69.5%, 0%, 11.4%)
CIE-LABlab(49.19, 64.55, -63.22)
CIE-LCHlch(49.19, 90.35, 315.60°)
OKLaboklab(59.05% 0.1448 -0.1791)
OKLCHoklch(59.05% 0.23 309)
XYZxyz(31.3699, 17.7471, 73.7097)
Luminance0.1775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A545E2 #82E245
analogous
#5645E2 #A545E2 #E245D0
triadic
#A545E2 #E2A545 #45E2A5
tetradic
#A545E2 #E25645 #82E245 #45D0E2
square
#A545E2 #E25645 #82E245 #45D0E2
split-complementary
#A545E2 #D0E245 #45E256
monochromatic
#641795 #8820CA #A545E2 #BF7AEA #D8AFF3

Accessibility & contrast

On white

4.62
#A545E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#A545E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A545E2
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A545E2#FFFFFF#000000##FFFFFF
##A545E21.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E7
Deuteranopia (green-blind)
#2276DF
Tritanopia (blue-blind)
#9C688F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a545e2;
/* rgb */ color: rgb(165, 69, 226);
/* oklch */ color: oklch(59.1% 0.230 309.0);
Tailwind
colors: {
  custom: {
    50: '#c480ec',
    500: '#a545e2',
    950: '#000000',
  },
}
SCSS
$custom: #a545e2;
$custom-light: #c480ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a545e2",
  "rgb": {
    "r": 165,
    "g": 69,
    "b": 226
  },
  "hsl": {
    "h": 276.688,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59052,
    "c": 0.23026,
    "h": 309
  },
  "luminance": 0.17747
}

Semantic roles & 50–950 ramp

primary
#A545E2
secondary
#BAE1A2
accent
#F0387F
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A545E2

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

Preview Lab → · Contrast checker → · Palette generator →

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