#A828A0#A828A0

#A828A0 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.6% C 0.207 H 330.9°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#A828A0
RGBrgb(168, 40, 160)
HSLhsl(304, 62%, 41%)
HSVhsv(304, 76%, 66%)
CMYKcmyk(0%, 76.2%, 4.8%, 34.1%)
CIE-LABlab(41.82, 63.50, -36.55)
CIE-LCHlch(41.82, 73.27, 330.07°)
OKLaboklab(52.59% 0.1808 -0.1008)
OKLCHoklch(52.59% 0.207 330.9)
XYZxyz(23.2524, 12.3824, 34.4163)
Luminance0.1238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A828A0 #28A830
analogous
#7028A8 #A828A0 #A82860
triadic
#A828A0 #A0A828 #28A0A8
tetradic
#A828A0 #A87028 #28A830 #2860A8
square
#A828A0 #A87028 #28A830 #2860A8
split-complementary
#A828A0 #60A828 #28A870
monochromatic
#451042 #771C71 #A828A0 #D13DC7 #DC6ED6

Accessibility & contrast

On white

6.04
#A828A0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#A828A0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A828A0
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A828A0#FFFFFF#000000##FFFFFF
##A828A01.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1957A3
Deuteranopia (green-blind)
#51699D
Tritanopia (blue-blind)
#AF3962
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a828a0;
/* rgb */ color: rgb(168, 40, 160);
/* oklch */ color: oklch(52.6% 0.207 330.9);
Tailwind
colors: {
  custom: {
    50: '#c671bc',
    500: '#a828a0',
    950: '#000000',
  },
}
SCSS
$custom: #a828a0;
$custom-light: #c671bc;
$custom-dark: #000000;
JSON
{
  "hex": "#a828a0",
  "rgb": {
    "r": 168,
    "g": 40,
    "b": 160
  },
  "hsl": {
    "h": 303.75,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52586,
    "c": 0.20704,
    "h": 330.9
  },
  "luminance": 0.1238
}

Semantic roles & 50–950 ramp

primary
#A828A0
secondary
#69C36E
accent
#E54D43
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A828A0

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

Preview Lab → · Contrast checker → · Palette generator →

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