#A828A7#A828A7

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

Color values

HEX#A828A7
RGBrgb(168, 40, 167)
HSLhsl(300, 62%, 41%)
HSVhsv(300, 76%, 66%)
CMYKcmyk(0%, 76.2%, 0.6%, 34.1%)
CIE-LABlab(42.21, 64.62, -40.12)
CIE-LCHlch(42.21, 76.06, 328.16°)
OKLaboklab(52.99% 0.1808 -0.1112)
OKLCHoklch(52.99% 0.212 328.4)
XYZxyz(23.8820, 12.6342, 37.7325)
Luminance0.1263 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A828A7 #28A829
analogous
#6928A8 #A828A7 #A82867
triadic
#A828A7 #A7A828 #28A7A8
tetradic
#A828A7 #A86928 #28A829 #2867A8
square
#A828A7 #A86928 #28A829 #2867A8
split-complementary
#A828A7 #67A828 #28A869
monochromatic
#451045 #771C76 #A828A7 #D13DD0 #DC6EDC

Accessibility & contrast

On white

5.96
#A828A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#A828A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A828A7
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A828A7#FFFFFF#000000##FFFFFF
##A828A71.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0959AA
Deuteranopia (green-blind)
#4D69A4
Tritanopia (blue-blind)
#AE3D66
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a828a7;
/* rgb */ color: rgb(168, 40, 167);
/* oklch */ color: oklch(53.0% 0.212 328.4);
Tailwind
colors: {
  custom: {
    50: '#c671c2',
    500: '#a828a7',
    950: '#000000',
  },
}
SCSS
$custom: #a828a7;
$custom-light: #c671c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a828a7",
  "rgb": {
    "r": 168,
    "g": 40,
    "b": 167
  },
  "hsl": {
    "h": 300.469,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.5299,
    "c": 0.21227,
    "h": 328.4
  },
  "luminance": 0.12632
}

Semantic roles & 50–950 ramp

primary
#A828A7
secondary
#69C369
accent
#E54443
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A828A7

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

Preview Lab → · Contrast checker → · Palette generator →

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