#A545E0#A545E0

#A545E0 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.9% C 0.228 H 309.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#A545E0
RGBrgb(165, 69, 224)
HSLhsl(277, 71%, 57%)
HSVhsv(277, 69%, 88%)
CMYKcmyk(26.3%, 69.2%, 0%, 12.2%)
CIE-LABlab(49.05, 64.13, -62.30)
CIE-LCHlch(49.05, 89.41, 315.83°)
OKLaboklab(58.91% 0.145 -0.1764)
OKLCHoklch(58.91% 0.228 309.4)
XYZxyz(31.0970, 17.6380, 72.2729)
Luminance0.1764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A545E0 #80E045
analogous
#5745E0 #A545E0 #E045CE
triadic
#A545E0 #E0A545 #45E0A5
tetradic
#A545E0 #E05745 #80E045 #45CEE0
square
#A545E0 #E05745 #80E045 #45CEE0
split-complementary
#A545E0 #CEE045 #45E057
monochromatic
#641892 #8821C7 #A545E0 #BE79E9 #D8AEF1

Accessibility & contrast

On white

4.64
#A545E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#A545E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A545E0
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A545E0#FFFFFF#000000##FFFFFF
##A545E01.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E5
Deuteranopia (green-blind)
#2676DD
Tritanopia (blue-blind)
#9C678E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a545e0;
/* rgb */ color: rgb(165, 69, 224);
/* oklch */ color: oklch(58.9% 0.228 309.4);
Tailwind
colors: {
  custom: {
    50: '#c480eb',
    500: '#a545e0',
    950: '#000000',
  },
}
SCSS
$custom: #a545e0;
$custom-light: #c480eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a545e0",
  "rgb": {
    "r": 165,
    "g": 69,
    "b": 224
  },
  "hsl": {
    "h": 277.161,
    "s": 71.429,
    "l": 57.451
  },
  "oklch": {
    "l": 0.58914,
    "c": 0.22832,
    "h": 309.4
  },
  "luminance": 0.17637
}

Semantic roles & 50–950 ramp

primary
#A545E0
secondary
#B9E0A1
accent
#EE3A7E
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A545E0

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

Preview Lab → · Contrast checker → · Palette generator →

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