#A028B1#A028B1

#A028B1 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.217 H 322.3°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#A028B1
RGBrgb(160, 40, 177)
HSLhsl(293, 63%, 43%)
HSVhsv(293, 77%, 69%)
CMYKcmyk(9.6%, 77.4%, 0%, 30.6%)
CIE-LABlab(41.48, 64.68, -47.30)
CIE-LCHlch(41.48, 80.13, 323.82°)
OKLaboklab(52.41% 0.1714 -0.1323)
OKLCHoklch(52.41% 0.217 322.3)
XYZxyz(23.1910, 12.1669, 42.7134)
Luminance0.1216 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A028B1 #39B128
analogous
#5C28B1 #A028B1 #B1287D
triadic
#A028B1 #B1A028 #28B1A0
tetradic
#A028B1 #B15C28 #39B128 #287DB1
square
#A028B1 #B15C28 #39B128 #287DB1
split-complementary
#A028B1 #7DB128 #28B15C
monochromatic
#46114D #731D7F #A028B1 #C242D4 #D274E0

Accessibility & contrast

On white

6.12
#A028B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A028B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A028B1
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A028B1#FFFFFF#000000##FFFFFF
##A028B11.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B5
Deuteranopia (green-blind)
#3D66AE
Tritanopia (blue-blind)
#A2446C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a028b1;
/* rgb */ color: rgb(160, 40, 177);
/* oklch */ color: oklch(52.4% 0.217 322.3);
Tailwind
colors: {
  custom: {
    50: '#c070c9',
    500: '#a028b1',
    950: '#000000',
  },
}
SCSS
$custom: #a028b1;
$custom-light: #c070c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a028b1",
  "rgb": {
    "r": 160,
    "g": 40,
    "b": 177
  },
  "hsl": {
    "h": 292.555,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52409,
    "c": 0.21658,
    "h": 322.3
  },
  "luminance": 0.12165
}

Semantic roles & 50–950 ramp

primary
#A028B1
secondary
#79C76E
accent
#E64256
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #A028B1

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

Preview Lab → · Contrast checker → · Palette generator →

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