#A828BB#A828BB

#A828BB is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.2% C 0.228 H 322.0°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#A828BB
RGBrgb(168, 40, 187)
HSLhsl(292, 65%, 45%)
HSVhsv(292, 79%, 73%)
CMYKcmyk(10.2%, 78.6%, 0%, 26.7%)
CIE-LABlab(43.41, 67.99, -50.04)
CIE-LCHlch(43.41, 84.42, 323.65°)
OKLaboklab(54.23% 0.1796 -0.1401)
OKLCHoklch(54.23% 0.228 322)
XYZxyz(25.8759, 13.4318, 48.2337)
Luminance0.1343 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A828BB #3BBB28
analogous
#5F28BB #A828BB #BB2885
triadic
#A828BB #BBA828 #28BBA8
tetradic
#A828BB #BB5F28 #3BBB28 #2885BB
square
#A828BB #BB5F28 #3BBB28 #2885BB
split-complementary
#A828BB #85BB28 #28BB5F
monochromatic
#4D1256 #7B1D89 #A828BB #C548D8 #D57BE3

Accessibility & contrast

On white

5.70
#A828BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#A828BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A828BB
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A828BB#FFFFFF#000000##FFFFFF
##A828BB1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#3E6BB8
Tritanopia (blue-blind)
#AA4772
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a828bb;
/* rgb */ color: rgb(168, 40, 187);
/* oklch */ color: oklch(54.2% 0.228 322.0);
Tailwind
colors: {
  custom: {
    50: '#c672d0',
    500: '#a828bb',
    950: '#000000',
  },
}
SCSS
$custom: #a828bb;
$custom-light: #c672d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a828bb",
  "rgb": {
    "r": 168,
    "g": 40,
    "b": 187
  },
  "hsl": {
    "h": 292.245,
    "s": 64.758,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54227,
    "c": 0.22776,
    "h": 322
  },
  "luminance": 0.1343
}

Semantic roles & 50–950 ramp

primary
#A828BB
secondary
#7FCB74
accent
#E84056
background
#FCF7FC
surface
#F9EDF9
border
#D2C8D2
text
#140914
muted
#827B82

Preview Lab

Preview with #A828BB

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

Preview Lab → · Contrast checker → · Palette generator →

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