#A028A2#A028A2

#A028A2 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.205 H 327.3°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#A028A2
RGBrgb(160, 40, 162)
HSLhsl(299, 60%, 40%)
HSVhsv(299, 75%, 64%)
CMYKcmyk(1.2%, 75.3%, 0%, 36.5%)
CIE-LABlab(40.58, 62.10, -39.81)
CIE-LCHlch(40.58, 73.76, 327.34°)
OKLaboklab(51.48% 0.1723 -0.1105)
OKLCHoklch(51.48% 0.205 327.3)
XYZxyz(21.7773, 11.6014, 35.2677)
Luminance0.1160 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A028A2 #2AA228
analogous
#6328A2 #A028A2 #A22867
triadic
#A028A2 #A2A028 #28A2A0
tetradic
#A028A2 #A26328 #2AA228 #2867A2
square
#A028A2 #A26328 #2AA228 #2867A2
split-complementary
#A028A2 #67A228 #28A263
monochromatic
#3F1040 #701C71 #A028A2 #CC39CE #D86ADA

Accessibility & contrast

On white

6.33
#A028A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A028A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A028A2
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A028A2#FFFFFF#000000##FFFFFF
##A028A21.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0656A5
Deuteranopia (green-blind)
#48659F
Tritanopia (blue-blind)
#A53C64
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a028a2;
/* rgb */ color: rgb(160, 40, 162);
/* oklch */ color: oklch(51.5% 0.205 327.3);
Tailwind
colors: {
  custom: {
    50: '#c070be',
    500: '#a028a2',
    950: '#000000',
  },
}
SCSS
$custom: #a028a2;
$custom-light: #c070be;
$custom-dark: #000000;
JSON
{
  "hex": "#a028a2",
  "rgb": {
    "r": 160,
    "g": 40,
    "b": 162
  },
  "hsl": {
    "h": 299.016,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51476,
    "c": 0.20469,
    "h": 327.3
  },
  "luminance": 0.116
}

Semantic roles & 50–950 ramp

primary
#A028A2
secondary
#67C165
accent
#E44447
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A028A2

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

Preview Lab → · Contrast checker → · Palette generator →

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