#A045A0#A045A0

#A045A0 is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.4% C 0.165 H 327.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#A045A0
RGBrgb(160, 69, 160)
HSLhsl(300, 40%, 45%)
HSVhsv(300, 57%, 63%)
CMYKcmyk(0%, 56.9%, 0%, 37.3%)
CIE-LABlab(44.62, 50.16, -32.22)
CIE-LCHlch(44.62, 59.62, 327.28°)
OKLaboklab(54.36% 0.1396 -0.0887)
OKLCHoklch(54.36% 0.165 327.6)
XYZxyz(22.9701, 14.2693, 34.7953)
Luminance0.1427 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045A0 #45A045
analogous
#7345A0 #A045A0 #A04573
triadic
#A045A0 #A0A045 #45A0A0
tetradic
#A045A0 #A07345 #45A045 #4573A0
square
#A045A0 #A07345 #45A045 #4573A0
split-complementary
#A045A0 #73A045 #45A073
monochromatic
#4A204A #753375 #A045A0 #BD65BD #CF90CF

Accessibility & contrast

On white

5.45
#A045A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#A045A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A045A0
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A045A0#FFFFFF#000000##FFFFFF
##A045A01.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B62A3
Deuteranopia (green-blind)
#596E9D
Tritanopia (blue-blind)
#A5506C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a045a0;
/* rgb */ color: rgb(160, 69, 160);
/* oklch */ color: oklch(54.4% 0.165 327.6);
Tailwind
colors: {
  custom: {
    50: '#bf7ebc',
    500: '#a045a0',
    950: '#000000',
  },
}
SCSS
$custom: #a045a0;
$custom-light: #bf7ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#a045a0",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 160
  },
  "hsl": {
    "h": 300,
    "s": 39.738,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54363,
    "c": 0.1654,
    "h": 327.6
  },
  "luminance": 0.14268
}

Semantic roles & 50–950 ramp

primary
#A045A0
secondary
#86BB86
accent
#D05858
background
#FCF7FB
surface
#F8EEF6
border
#D1C9D0
text
#120A12
muted
#817C81

Preview Lab

Preview with #A045A0

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

Preview Lab → · Contrast checker → · Palette generator →

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