#A828B3#A828B3

#A828B3 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.221 H 324.5°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#A828B3
RGBrgb(168, 40, 179)
HSLhsl(295, 63%, 43%)
HSVhsv(295, 78%, 70%)
CMYKcmyk(6.1%, 77.7%, 0%, 29.8%)
CIE-LABlab(42.91, 66.61, -46.12)
CIE-LCHlch(42.91, 81.02, 325.30°)
OKLaboklab(53.72% 0.1803 -0.1287)
OKLCHoklch(53.72% 0.221 324.5)
XYZxyz(25.0433, 13.0987, 43.8483)
Luminance0.1310 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A828B3 #33B328
analogous
#6328B3 #A828B3 #B32878
triadic
#A828B3 #B3A828 #28B3A8
tetradic
#A828B3 #B36328 #33B328 #2878B3
square
#A828B3 #B36328 #33B328 #2878B3
split-complementary
#A828B3 #78B328 #28B363
monochromatic
#4A124F #791D81 #A828B3 #C943D5 #D875E0

Accessibility & contrast

On white

5.80
#A828B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#A828B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A828B3
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A828B3#FFFFFF#000000##FFFFFF
##A828B31.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB7
Deuteranopia (green-blind)
#456AB0
Tritanopia (blue-blind)
#AB436D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a828b3;
/* rgb */ color: rgb(168, 40, 179);
/* oklch */ color: oklch(53.7% 0.221 324.5);
Tailwind
colors: {
  custom: {
    50: '#c671ca',
    500: '#a828b3',
    950: '#000000',
  },
}
SCSS
$custom: #a828b3;
$custom-light: #c671ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a828b3",
  "rgb": {
    "r": 168,
    "g": 40,
    "b": 179
  },
  "hsl": {
    "h": 295.252,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53718,
    "c": 0.22148,
    "h": 324.5
  },
  "luminance": 0.13097
}

Semantic roles & 50–950 ramp

primary
#A828B3
secondary
#76C86F
accent
#E6414E
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A828B3

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

Preview Lab → · Contrast checker → · Palette generator →

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