#A045A9#A045A9

#A045A9 is a mid, vivid purple. Relative luminance 0.146; OKLCH L 54.8% C 0.174 H 324.0°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#A045A9
RGBrgb(160, 69, 169)
HSLhsl(295, 42%, 47%)
HSVhsv(295, 59%, 66%)
CMYKcmyk(5.3%, 59.2%, 0%, 33.7%)
CIE-LABlab(45.08, 51.83, -36.85)
CIE-LCHlch(45.08, 63.59, 324.59°)
OKLaboklab(54.85% 0.1404 -0.1021)
OKLCHoklch(54.85% 0.174 324)
XYZxyz(23.7861, 14.5957, 39.0928)
Luminance0.1459 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045A9 #4EA945
analogous
#6E45A9 #A045A9 #A94580
triadic
#A045A9 #A9A045 #45A9A0
tetradic
#A045A9 #A96E45 #4EA945 #4580A9
square
#A045A9 #A96E45 #4EA945 #4580A9
split-complementary
#A045A9 #80A945 #45A96E
monochromatic
#4E2252 #77337E #A045A9 #BA69C2 #CE95D4

Accessibility & contrast

On white

5.36
#A045A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#A045A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A045A9
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A045A9#FFFFFF#000000##FFFFFF
##A045A91.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3464AC
Deuteranopia (green-blind)
#556EA6
Tritanopia (blue-blind)
#A35370
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a045a9;
/* rgb */ color: rgb(160, 69, 169);
/* oklch */ color: oklch(54.8% 0.174 324.0);
Tailwind
colors: {
  custom: {
    50: '#bf7ec3',
    500: '#a045a9',
    950: '#000000',
  },
}
SCSS
$custom: #a045a9;
$custom-light: #bf7ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#a045a9",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 169
  },
  "hsl": {
    "h": 294.6,
    "s": 42.017,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54847,
    "c": 0.17362,
    "h": 324
  },
  "luminance": 0.14594
}

Semantic roles & 50–950 ramp

primary
#A045A9
secondary
#8FBF8A
accent
#D25661
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120A12
muted
#817C81

Preview Lab

Preview with #A045A9

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

Preview Lab → · Contrast checker → · Palette generator →

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