#A045A7#A045A7

#A045A7 is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.7% C 0.172 H 324.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#A045A7
RGBrgb(160, 69, 167)
HSLhsl(296, 42%, 46%)
HSVhsv(296, 59%, 65%)
CMYKcmyk(4.2%, 58.7%, 0%, 34.5%)
CIE-LABlab(44.97, 51.46, -35.83)
CIE-LCHlch(44.97, 62.70, 325.15°)
OKLaboklab(54.74% 0.1403 -0.0991)
OKLCHoklch(54.74% 0.172 324.8)
XYZxyz(23.5998, 14.5212, 38.1115)
Luminance0.1452 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045A7 #4CA745
analogous
#6F45A7 #A045A7 #A7457D
triadic
#A045A7 #A7A045 #45A7A0
tetradic
#A045A7 #A76F45 #4CA745 #457DA7
square
#A045A7 #A76F45 #4CA745 #457DA7
split-complementary
#A045A7 #7DA745 #45A76F
monochromatic
#4D2150 #77337C #A045A7 #BA68C1 #CE94D3

Accessibility & contrast

On white

5.38
#A045A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#A045A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A045A7
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A045A7#FFFFFF#000000##FFFFFF
##A045A71.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3663AA
Deuteranopia (green-blind)
#566EA4
Tritanopia (blue-blind)
#A3526F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a045a7;
/* rgb */ color: rgb(160, 69, 167);
/* oklch */ color: oklch(54.7% 0.172 324.8);
Tailwind
colors: {
  custom: {
    50: '#bf7ec1',
    500: '#a045a7',
    950: '#000000',
  },
}
SCSS
$custom: #a045a7;
$custom-light: #bf7ec1;
$custom-dark: #000000;
JSON
{
  "hex": "#a045a7",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 167
  },
  "hsl": {
    "h": 295.714,
    "s": 41.525,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54737,
    "c": 0.17178,
    "h": 324.8
  },
  "luminance": 0.1452
}

Semantic roles & 50–950 ramp

primary
#A045A7
secondary
#8DBE89
accent
#D1565F
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#120A12
muted
#817C81

Preview Lab

Preview with #A045A7

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

Preview Lab → · Contrast checker → · Palette generator →

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