#A045AC#A045AC

#A045AC is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.0% C 0.176 H 322.9°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#A045AC
RGBrgb(160, 69, 172)
HSLhsl(293, 43%, 47%)
HSVhsv(293, 60%, 67%)
CMYKcmyk(7%, 59.9%, 0%, 32.5%)
CIE-LABlab(45.23, 52.40, -38.37)
CIE-LCHlch(45.23, 64.95, 323.79°)
OKLaboklab(55.01% 0.1406 -0.1065)
OKLCHoklch(55.01% 0.176 322.9)
XYZxyz(24.0710, 14.7096, 40.5931)
Luminance0.1471 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045AC #51AC45
analogous
#6D45AC #A045AC #AC4584
triadic
#A045AC #ACA045 #45ACA0
tetradic
#A045AC #AC6D45 #51AC45 #4584AC
square
#A045AC #AC6D45 #51AC45 #4584AC
split-complementary
#A045AC #84AC45 #45AC6D
monochromatic
#4F2255 #773380 #A045AC #B96BC4 #CE96D5

Accessibility & contrast

On white

5.33
#A045AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#A045AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A045AC
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A045AC#FFFFFF#000000##FFFFFF
##A045AC1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3264AF
Deuteranopia (green-blind)
#536FA9
Tritanopia (blue-blind)
#A25472
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a045ac;
/* rgb */ color: rgb(160, 69, 172);
/* oklch */ color: oklch(55.0% 0.176 322.9);
Tailwind
colors: {
  custom: {
    50: '#bf7ec5',
    500: '#a045ac',
    950: '#000000',
  },
}
SCSS
$custom: #a045ac;
$custom-light: #bf7ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#a045ac",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 172
  },
  "hsl": {
    "h": 293.01,
    "s": 42.739,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55014,
    "c": 0.17642,
    "h": 322.9
  },
  "luminance": 0.14708
}

Semantic roles & 50–950 ramp

primary
#A045AC
secondary
#92C18C
accent
#D35564
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #A045AC

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

Preview Lab → · Contrast checker → · Palette generator →

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