#A828A6#A828A6

#A828A6 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.9% C 0.212 H 328.8°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#A828A6
RGBrgb(168, 40, 166)
HSLhsl(301, 62%, 41%)
HSVhsv(301, 76%, 66%)
CMYKcmyk(0%, 76.2%, 1.2%, 34.1%)
CIE-LABlab(42.15, 64.46, -39.62)
CIE-LCHlch(42.15, 75.66, 328.42°)
OKLaboklab(52.93% 0.1808 -0.1097)
OKLCHoklch(52.93% 0.212 328.8)
XYZxyz(23.7899, 12.5974, 37.2475)
Luminance0.1260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A828A6 #28A82A
analogous
#6A28A8 #A828A6 #A82866
triadic
#A828A6 #A6A828 #28A6A8
tetradic
#A828A6 #A86A28 #28A82A #2866A8
square
#A828A6 #A86A28 #28A82A #2866A8
split-complementary
#A828A6 #66A828 #28A86A
monochromatic
#451044 #771C75 #A828A6 #D13DCE #DC6EDB

Accessibility & contrast

On white

5.97
#A828A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#A828A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A828A6
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A828A6#FFFFFF#000000##FFFFFF
##A828A61.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C59A9
Deuteranopia (green-blind)
#4D69A3
Tritanopia (blue-blind)
#AE3C66
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a828a6;
/* rgb */ color: rgb(168, 40, 166);
/* oklch */ color: oklch(52.9% 0.212 328.8);
Tailwind
colors: {
  custom: {
    50: '#c671c1',
    500: '#a828a6',
    950: '#000000',
  },
}
SCSS
$custom: #a828a6;
$custom-light: #c671c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a828a6",
  "rgb": {
    "r": 168,
    "g": 40,
    "b": 166
  },
  "hsl": {
    "h": 300.938,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52931,
    "c": 0.21152,
    "h": 328.8
  },
  "luminance": 0.12596
}

Semantic roles & 50–950 ramp

primary
#A828A6
secondary
#69C36A
accent
#E54643
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A828A6

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

Preview Lab → · Contrast checker → · Palette generator →

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