#A045AF#A045AF

#A045AF is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.2% C 0.179 H 321.8°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#A045AF
RGBrgb(160, 69, 175)
HSLhsl(292, 43%, 48%)
HSVhsv(292, 61%, 69%)
CMYKcmyk(8.6%, 60.6%, 0%, 31.4%)
CIE-LABlab(45.40, 52.98, -39.88)
CIE-LCHlch(45.40, 66.31, 323.03°)
OKLaboklab(55.18% 0.1408 -0.1109)
OKLCHoklch(55.18% 0.179 321.8)
XYZxyz(24.3624, 14.8262, 42.1276)
Luminance0.1482 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045AF #54AF45
analogous
#6B45AF #A045AF #AF4589
triadic
#A045AF #AFA045 #45AFA0
tetradic
#A045AF #AF6B45 #54AF45 #4589AF
square
#A045AF #AF6B45 #54AF45 #4589AF
split-complementary
#A045AF #89AF45 #45AF6B
monochromatic
#502257 #783483 #A045AF #B86CC5 #CE98D6

Accessibility & contrast

On white

5.30
#A045AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#A045AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A045AF
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A045AF#FFFFFF#000000##FFFFFF
##A045AF1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F65B2
Deuteranopia (green-blind)
#516FAC
Tritanopia (blue-blind)
#A25574
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a045af;
/* rgb */ color: rgb(160, 69, 175);
/* oklch */ color: oklch(55.2% 0.179 321.8);
Tailwind
colors: {
  custom: {
    50: '#bf7ec7',
    500: '#a045af',
    950: '#000000',
  },
}
SCSS
$custom: #a045af;
$custom-light: #bf7ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#a045af",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 291.509,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55184,
    "c": 0.17923,
    "h": 321.8
  },
  "luminance": 0.14825
}

Semantic roles & 50–950 ramp

primary
#A045AF
secondary
#95C28D
accent
#D35567
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #A045AF

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

Preview Lab → · Contrast checker → · Palette generator →

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