#A045A5#A045A5

#A045A5 is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.6% C 0.170 H 325.5°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#A045A5
RGBrgb(160, 69, 165)
HSLhsl(297, 41%, 46%)
HSVhsv(297, 58%, 65%)
CMYKcmyk(3%, 58.2%, 0%, 35.3%)
CIE-LABlab(44.87, 51.08, -34.80)
CIE-LCHlch(44.87, 61.81, 325.73°)
OKLaboklab(54.63% 0.1401 -0.0962)
OKLCHoklch(54.63% 0.17 325.5)
XYZxyz(23.4163, 14.4478, 37.1453)
Luminance0.1445 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045A5 #4AA545
analogous
#7045A5 #A045A5 #A5457A
triadic
#A045A5 #A5A045 #45A5A0
tetradic
#A045A5 #A57045 #4AA545 #457AA5
square
#A045A5 #A57045 #4AA545 #457AA5
split-complementary
#A045A5 #7AA545 #45A570
monochromatic
#4C214F #76337A #A045A5 #BB68C0 #CE93D2

Accessibility & contrast

On white

5.40
#A045A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#A045A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A045A5
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A045A5#FFFFFF#000000##FFFFFF
##A045A51.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3863A8
Deuteranopia (green-blind)
#576EA2
Tritanopia (blue-blind)
#A4526E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a045a5;
/* rgb */ color: rgb(160, 69, 165);
/* oklch */ color: oklch(54.6% 0.170 325.5);
Tailwind
colors: {
  custom: {
    50: '#bf7ec0',
    500: '#a045a5',
    950: '#000000',
  },
}
SCSS
$custom: #a045a5;
$custom-light: #bf7ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#a045a5",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 165
  },
  "hsl": {
    "h": 296.875,
    "s": 41.026,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54629,
    "c": 0.16994,
    "h": 325.5
  },
  "luminance": 0.14446
}

Semantic roles & 50–950 ramp

primary
#A045A5
secondary
#8BBD88
accent
#D1575D
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#120A12
muted
#817C81

Preview Lab

Preview with #A045A5

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

Preview Lab → · Contrast checker → · Palette generator →

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