#A045AA#A045AA

#A045AA is a mid, vivid purple. Relative luminance 0.146; OKLCH L 54.9% C 0.175 H 323.6°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#A045AA
RGBrgb(160, 69, 170)
HSLhsl(294, 42%, 47%)
HSVhsv(294, 59%, 67%)
CMYKcmyk(5.9%, 59.4%, 0%, 33.3%)
CIE-LABlab(45.13, 52.02, -37.35)
CIE-LCHlch(45.13, 64.04, 324.32°)
OKLaboklab(54.9% 0.1405 -0.1036)
OKLCHoklch(54.9% 0.175 323.6)
XYZxyz(23.8804, 14.6334, 39.5891)
Luminance0.1463 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045AA #4FAA45
analogous
#6E45AA #A045AA #AA4582
triadic
#A045AA #AAA045 #45AAA0
tetradic
#A045AA #AA6E45 #4FAA45 #4582AA
square
#A045AA #AA6E45 #4FAA45 #4582AA
split-complementary
#A045AA #82AA45 #45AA6E
monochromatic
#4E2253 #77337E #A045AA #BA6AC2 #CE95D4

Accessibility & contrast

On white

5.35
#A045AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#A045AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A045AA
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A045AA#FFFFFF#000000##FFFFFF
##A045AA1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3464AD
Deuteranopia (green-blind)
#546FA7
Tritanopia (blue-blind)
#A35371
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a045aa;
/* rgb */ color: rgb(160, 69, 170);
/* oklch */ color: oklch(54.9% 0.175 323.6);
Tailwind
colors: {
  custom: {
    50: '#bf7ec4',
    500: '#a045aa',
    950: '#000000',
  },
}
SCSS
$custom: #a045aa;
$custom-light: #bf7ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#a045aa",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 170
  },
  "hsl": {
    "h": 294.059,
    "s": 42.259,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54903,
    "c": 0.17456,
    "h": 323.6
  },
  "luminance": 0.14632
}

Semantic roles & 50–950 ramp

primary
#A045AA
secondary
#90C08B
accent
#D25662
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120A12
muted
#817C81

Preview Lab

Preview with #A045AA

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

Preview Lab → · Contrast checker → · Palette generator →

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