#A028A5#A028A5

#A028A5 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.7% C 0.207 H 326.3°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A028A5
RGBrgb(160, 40, 165)
HSLhsl(298, 61%, 40%)
HSVhsv(298, 76%, 65%)
CMYKcmyk(3%, 75.8%, 0%, 35.3%)
CIE-LABlab(40.75, 62.60, -41.33)
CIE-LCHlch(40.75, 75.01, 326.57°)
OKLaboklab(51.66% 0.1722 -0.1149)
OKLCHoklch(51.66% 0.207 326.3)
XYZxyz(22.0471, 11.7093, 36.6889)
Luminance0.1171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A028A5 #2DA528
analogous
#6128A5 #A028A5 #A5286B
triadic
#A028A5 #A5A028 #28A5A0
tetradic
#A028A5 #A56128 #2DA528 #286BA5
square
#A028A5 #A56128 #2DA528 #286BA5
split-complementary
#A028A5 #6BA528 #28A561
monochromatic
#401042 #701C74 #A028A5 #C93BCF #D76CDB

Accessibility & contrast

On white

6.28
#A028A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A028A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A028A5
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A028A5#FFFFFF#000000##FFFFFF
##A028A51.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A8
Deuteranopia (green-blind)
#4665A2
Tritanopia (blue-blind)
#A43E65
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a028a5;
/* rgb */ color: rgb(160, 40, 165);
/* oklch */ color: oklch(51.7% 0.207 326.3);
Tailwind
colors: {
  custom: {
    50: '#c070c0',
    500: '#a028a5',
    950: '#000000',
  },
}
SCSS
$custom: #a028a5;
$custom-light: #c070c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a028a5",
  "rgb": {
    "r": 160,
    "g": 40,
    "b": 165
  },
  "hsl": {
    "h": 297.6,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51657,
    "c": 0.20703,
    "h": 326.3
  },
  "luminance": 0.11708
}

Semantic roles & 50–950 ramp

primary
#A028A5
secondary
#6BC267
accent
#E4444A
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A028A5

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

Preview Lab → · Contrast checker → · Palette generator →

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