#A828AF#A828AF

#A828AF is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.5% C 0.218 H 325.8°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#A828AF
RGBrgb(168, 40, 175)
HSLhsl(297, 63%, 42%)
HSVhsv(297, 77%, 69%)
CMYKcmyk(4%, 77.1%, 0%, 31.4%)
CIE-LABlab(42.67, 65.94, -44.14)
CIE-LCHlch(42.67, 79.35, 326.20°)
OKLaboklab(53.47% 0.1805 -0.1229)
OKLCHoklch(53.47% 0.218 325.8)
XYZxyz(24.6446, 12.9392, 41.7486)
Luminance0.1294 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A828AF #2FAF28
analogous
#6528AF #A828AF #AF2873
triadic
#A828AF #AFA828 #28AFA8
tetradic
#A828AF #AF6528 #2FAF28 #2873AF
square
#A828AF #AF6528 #2FAF28 #2873AF
split-complementary
#A828AF #73AF28 #28AF65
monochromatic
#48114B #781D7D #A828AF #CC41D4 #D973DF

Accessibility & contrast

On white

5.85
#A828AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#A828AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A828AF
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A828AF#FFFFFF#000000##FFFFFF
##A828AF1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB3
Deuteranopia (green-blind)
#486AAC
Tritanopia (blue-blind)
#AC416B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a828af;
/* rgb */ color: rgb(168, 40, 175);
/* oklch */ color: oklch(53.5% 0.218 325.8);
Tailwind
colors: {
  custom: {
    50: '#c671c7',
    500: '#a828af',
    950: '#000000',
  },
}
SCSS
$custom: #a828af;
$custom-light: #c671c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a828af",
  "rgb": {
    "r": 168,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 296.889,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.5347,
    "c": 0.21839,
    "h": 325.8
  },
  "luminance": 0.12938
}

Semantic roles & 50–950 ramp

primary
#A828AF
secondary
#71C66D
accent
#E6424A
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A828AF

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

Preview Lab → · Contrast checker → · Palette generator →

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