#A045A4#A045A4

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

Color values

HEX#A045A4
RGBrgb(160, 69, 164)
HSLhsl(297, 41%, 46%)
HSVhsv(297, 58%, 64%)
CMYKcmyk(2.4%, 57.9%, 0%, 35.7%)
CIE-LABlab(44.82, 50.90, -34.29)
CIE-LCHlch(44.82, 61.37, 326.03°)
OKLaboklab(54.58% 0.14 -0.0947)
OKLCHoklch(54.58% 0.169 325.9)
XYZxyz(23.3257, 14.4115, 36.6678)
Luminance0.1441 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045A4 #49A445
analogous
#7045A4 #A045A4 #A44578
triadic
#A045A4 #A4A045 #45A4A0
tetradic
#A045A4 #A47045 #49A445 #4578A4
square
#A045A4 #A47045 #49A445 #4578A4
split-complementary
#A045A4 #78A445 #45A470
monochromatic
#4C214E #763379 #A045A4 #BB67BF #CF92D1

Accessibility & contrast

On white

5.41
#A045A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#A045A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A045A4
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A045A4#FFFFFF#000000##FFFFFF
##A045A41.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3863A7
Deuteranopia (green-blind)
#576EA1
Tritanopia (blue-blind)
#A4516E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a045a4;
/* rgb */ color: rgb(160, 69, 164);
/* oklch */ color: oklch(54.6% 0.169 325.9);
Tailwind
colors: {
  custom: {
    50: '#bf7ebf',
    500: '#a045a4',
    950: '#000000',
  },
}
SCSS
$custom: #a045a4;
$custom-light: #bf7ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#a045a4",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 164
  },
  "hsl": {
    "h": 297.474,
    "s": 40.773,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54575,
    "c": 0.16902,
    "h": 325.9
  },
  "luminance": 0.1441
}

Semantic roles & 50–950 ramp

primary
#A045A4
secondary
#8ABD88
accent
#D1575C
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#120A12
muted
#817C81

Preview Lab

Preview with #A045A4

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

Preview Lab → · Contrast checker → · Palette generator →

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