#A828B2#A828B2

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

Color values

HEX#A828B2
RGBrgb(168, 40, 178)
HSLhsl(296, 63%, 43%)
HSVhsv(296, 78%, 70%)
CMYKcmyk(5.6%, 77.5%, 0%, 30.2%)
CIE-LABlab(42.85, 66.44, -45.63)
CIE-LCHlch(42.85, 80.60, 325.52°)
OKLaboklab(53.65% 0.1804 -0.1272)
OKLCHoklch(53.65% 0.221 324.8)
XYZxyz(24.9425, 13.0584, 43.3176)
Luminance0.1306 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A828B2 #32B228
analogous
#6328B2 #A828B2 #B22877
triadic
#A828B2 #B2A828 #28B2A8
tetradic
#A828B2 #B26328 #32B228 #2877B2
square
#A828B2 #B26328 #32B228 #2877B2
split-complementary
#A828B2 #77B228 #28B263
monochromatic
#4A124E #791D80 #A828B2 #CA43D5 #D875E0

Accessibility & contrast

On white

5.81
#A828B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#A828B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A828B2
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A828B2#FFFFFF#000000##FFFFFF
##A828B21.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#466AAF
Tritanopia (blue-blind)
#AC426D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a828b2;
/* rgb */ color: rgb(168, 40, 178);
/* oklch */ color: oklch(53.7% 0.221 324.8);
Tailwind
colors: {
  custom: {
    50: '#c671ca',
    500: '#a828b2',
    950: '#000000',
  },
}
SCSS
$custom: #a828b2;
$custom-light: #c671ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a828b2",
  "rgb": {
    "r": 168,
    "g": 40,
    "b": 178
  },
  "hsl": {
    "h": 295.652,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.53655,
    "c": 0.22071,
    "h": 324.8
  },
  "luminance": 0.13057
}

Semantic roles & 50–950 ramp

primary
#A828B2
secondary
#75C76F
accent
#E6414D
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A828B2

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

Preview Lab → · Contrast checker → · Palette generator →

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