#A828A3#A828A3

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

Color values

HEX#A828A3
RGBrgb(168, 40, 163)
HSLhsl(302, 62%, 41%)
HSVhsv(302, 76%, 66%)
CMYKcmyk(0%, 76.2%, 3%, 34.1%)
CIE-LABlab(41.98, 63.98, -38.09)
CIE-LCHlch(41.98, 74.46, 329.23°)
OKLaboklab(52.76% 0.1809 -0.1053)
OKLCHoklch(52.76% 0.209 329.8)
XYZxyz(23.5180, 12.4886, 35.8151)
Luminance0.1249 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A828A3 #28A82D
analogous
#6D28A8 #A828A3 #A82863
triadic
#A828A3 #A3A828 #28A3A8
tetradic
#A828A3 #A86D28 #28A82D #2863A8
square
#A828A3 #A86D28 #28A82D #2863A8
split-complementary
#A828A3 #63A828 #28A86D
monochromatic
#451043 #771C73 #A828A3 #D13DCB #DC6ED8

Accessibility & contrast

On white

6.00
#A828A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#A828A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A828A3
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A828A3#FFFFFF#000000##FFFFFF
##A828A31.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1458A6
Deuteranopia (green-blind)
#4F69A0
Tritanopia (blue-blind)
#AE3B64
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a828a3;
/* rgb */ color: rgb(168, 40, 163);
/* oklch */ color: oklch(52.8% 0.209 329.8);
Tailwind
colors: {
  custom: {
    50: '#c671bf',
    500: '#a828a3',
    950: '#000000',
  },
}
SCSS
$custom: #a828a3;
$custom-light: #c671bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a828a3",
  "rgb": {
    "r": 168,
    "g": 40,
    "b": 163
  },
  "hsl": {
    "h": 302.344,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52757,
    "c": 0.20927,
    "h": 329.8
  },
  "luminance": 0.12487
}

Semantic roles & 50–950 ramp

primary
#A828A3
secondary
#69C36C
accent
#E54943
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A828A3

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

Preview Lab → · Contrast checker → · Palette generator →

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