#A045A2#A045A2

#A045A2 is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.5% C 0.167 H 326.7°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#A045A2
RGBrgb(160, 69, 162)
HSLhsl(299, 40%, 45%)
HSVhsv(299, 57%, 64%)
CMYKcmyk(1.2%, 57.4%, 0%, 36.5%)
CIE-LABlab(44.72, 50.53, -33.26)
CIE-LCHlch(44.72, 60.49, 326.65°)
OKLaboklab(54.47% 0.1398 -0.0917)
OKLCHoklch(54.47% 0.167 326.7)
XYZxyz(23.1465, 14.3398, 35.7241)
Luminance0.1434 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045A2 #47A245
analogous
#7245A2 #A045A2 #A24575
triadic
#A045A2 #A2A045 #45A2A0
tetradic
#A045A2 #A27245 #47A245 #4575A2
square
#A045A2 #A27245 #47A245 #4575A2
split-complementary
#A045A2 #75A245 #45A272
monochromatic
#4B204C #763377 #A045A2 #BC66BE #CF91D0

Accessibility & contrast

On white

5.43
#A045A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#A045A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A045A2
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A045A2#FFFFFF#000000##FFFFFF
##A045A21.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A62A5
Deuteranopia (green-blind)
#586E9F
Tritanopia (blue-blind)
#A4506D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a045a2;
/* rgb */ color: rgb(160, 69, 162);
/* oklch */ color: oklch(54.5% 0.167 326.7);
Tailwind
colors: {
  custom: {
    50: '#bf7ebe',
    500: '#a045a2',
    950: '#000000',
  },
}
SCSS
$custom: #a045a2;
$custom-light: #bf7ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#a045a2",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 298.71,
    "s": 40.26,
    "l": 45.294
  },
  "oklch": {
    "l": 0.54468,
    "c": 0.1672,
    "h": 326.7
  },
  "luminance": 0.14338
}

Semantic roles & 50–950 ramp

primary
#A045A2
secondary
#88BC87
accent
#D0585A
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#120A12
muted
#817C81

Preview Lab

Preview with #A045A2

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

Preview Lab → · Contrast checker → · Palette generator →

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