#A828D1#A828D1

#A828D1 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.7% C 0.245 H 315.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#A828D1
RGBrgb(168, 40, 209)
HSLhsl(285, 68%, 49%)
HSVhsv(285, 81%, 82%)
CMYKcmyk(19.6%, 80.9%, 0%, 18%)
CIE-LABlab(44.87, 71.97, -60.47)
CIE-LCHlch(44.87, 94.00, 319.96°)
OKLaboklab(55.72% 0.1763 -0.1707)
OKLCHoklch(55.72% 0.245 315.9)
XYZxyz(28.4140, 14.4470, 61.6011)
Luminance0.1445 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A828D1 #51D128
analogous
#5428D1 #A828D1 #D128A6
triadic
#A828D1 #D1A828 #28D1A8
tetradic
#A828D1 #D15428 #51D128 #28A6D1
square
#A828D1 #D15428 #51D128 #28A6D1
split-complementary
#A828D1 #A6D128 #28D154
monochromatic
#55146A #7F1E9E #A828D1 #BE57DF #D28BE9

Accessibility & contrast

On white

5.40
#A828D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#A828D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A828D1
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A828D1#FFFFFF#000000##FFFFFF
##A828D11.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D5
Deuteranopia (green-blind)
#236DCE
Tritanopia (blue-blind)
#A5517E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a828d1;
/* rgb */ color: rgb(168, 40, 209);
/* oklch */ color: oklch(55.7% 0.245 315.9);
Tailwind
colors: {
  custom: {
    50: '#c773e0',
    500: '#a828d1',
    950: '#000000',
  },
}
SCSS
$custom: #a828d1;
$custom-light: #c773e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a828d1",
  "rgb": {
    "r": 168,
    "g": 40,
    "b": 209
  },
  "hsl": {
    "h": 285.444,
    "s": 67.871,
    "l": 48.824
  },
  "oklch": {
    "l": 0.55718,
    "c": 0.2454,
    "h": 315.9
  },
  "luminance": 0.14446
}

Semantic roles & 50–950 ramp

primary
#A828D1
secondary
#96D382
accent
#EB3D67
background
#FCF7FD
surface
#F9EDFB
border
#D2C8D4
text
#140915
muted
#827B83

Preview Lab

Preview with #A828D1

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

Preview Lab → · Contrast checker → · Palette generator →

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