#A828A2#A828A2

#A828A2 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.7% C 0.209 H 330.1°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#A828A2
RGBrgb(168, 40, 162)
HSLhsl(303, 62%, 41%)
HSVhsv(303, 76%, 66%)
CMYKcmyk(0%, 76.2%, 3.6%, 34.1%)
CIE-LABlab(41.93, 63.82, -37.58)
CIE-LCHlch(41.93, 74.06, 329.51°)
OKLaboklab(52.7% 0.1809 -0.1038)
OKLCHoklch(52.7% 0.209 330.1)
XYZxyz(23.4287, 12.4529, 35.3451)
Luminance0.1245 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A828A2 #28A82E
analogous
#6E28A8 #A828A2 #A82862
triadic
#A828A2 #A2A828 #28A2A8
tetradic
#A828A2 #A86E28 #28A82E #2862A8
square
#A828A2 #A86E28 #28A82E #2862A8
split-complementary
#A828A2 #62A828 #28A86E
monochromatic
#451043 #771C72 #A828A2 #D13DCA #DC6ED7

Accessibility & contrast

On white

6.02
#A828A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#A828A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A828A2
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A828A2#FFFFFF#000000##FFFFFF
##A828A21.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1658A5
Deuteranopia (green-blind)
#50699F
Tritanopia (blue-blind)
#AE3A64
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a828a2;
/* rgb */ color: rgb(168, 40, 162);
/* oklch */ color: oklch(52.7% 0.209 330.1);
Tailwind
colors: {
  custom: {
    50: '#c671be',
    500: '#a828a2',
    950: '#000000',
  },
}
SCSS
$custom: #a828a2;
$custom-light: #c671be;
$custom-dark: #000000;
JSON
{
  "hex": "#a828a2",
  "rgb": {
    "r": 168,
    "g": 40,
    "b": 162
  },
  "hsl": {
    "h": 302.813,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.527,
    "c": 0.20853,
    "h": 330.1
  },
  "luminance": 0.12451
}

Semantic roles & 50–950 ramp

primary
#A828A2
secondary
#69C36D
accent
#E54B43
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A828A2

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

Preview Lab → · Contrast checker → · Palette generator →

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