#A828B1#A828B1

#A828B1 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.6% C 0.220 H 325.1°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#A828B1
RGBrgb(168, 40, 177)
HSLhsl(296, 63%, 43%)
HSVhsv(296, 77%, 69%)
CMYKcmyk(5.1%, 77.4%, 0%, 30.6%)
CIE-LABlab(42.79, 66.28, -45.13)
CIE-LCHlch(42.79, 80.18, 325.75°)
OKLaboklab(53.59% 0.1804 -0.1258)
OKLCHoklch(53.59% 0.22 325.1)
XYZxyz(24.8425, 13.0184, 42.7908)
Luminance0.1302 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A828B1 #31B128
analogous
#6328B1 #A828B1 #B12876
triadic
#A828B1 #B1A828 #28B1A8
tetradic
#A828B1 #B16328 #31B128 #2876B1
square
#A828B1 #B16328 #31B128 #2876B1
split-complementary
#A828B1 #76B128 #28B163
monochromatic
#49114D #791D7F #A828B1 #CB42D4 #D874E0

Accessibility & contrast

On white

5.83
#A828B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#A828B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A828B1
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A828B1#FFFFFF#000000##FFFFFF
##A828B11.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB5
Deuteranopia (green-blind)
#466AAE
Tritanopia (blue-blind)
#AC426C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a828b1;
/* rgb */ color: rgb(168, 40, 177);
/* oklch */ color: oklch(53.6% 0.220 325.1);
Tailwind
colors: {
  custom: {
    50: '#c671c9',
    500: '#a828b1',
    950: '#000000',
  },
}
SCSS
$custom: #a828b1;
$custom-light: #c671c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a828b1",
  "rgb": {
    "r": 168,
    "g": 40,
    "b": 177
  },
  "hsl": {
    "h": 296.058,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.53593,
    "c": 0.21993,
    "h": 325.1
  },
  "luminance": 0.13017
}

Semantic roles & 50–950 ramp

primary
#A828B1
secondary
#74C76E
accent
#E6424C
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A828B1

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

Preview Lab → · Contrast checker → · Palette generator →

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