#A826A4#A826A4

#A826A4 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.7% C 0.212 H 329.5°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#A826A4
RGBrgb(168, 38, 164)
HSLhsl(302, 63%, 40%)
HSVhsv(302, 77%, 66%)
CMYKcmyk(0%, 77.4%, 2.4%, 34.1%)
CIE-LABlab(41.83, 64.72, -38.92)
CIE-LCHlch(41.83, 75.52, 328.98°)
OKLaboklab(52.67% 0.1825 -0.1077)
OKLCHoklch(52.67% 0.212 329.5)
XYZxyz(23.5422, 12.3932, 36.2670)
Luminance0.1239 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A826A4 #26A82A
analogous
#6B26A8 #A826A4 #A82663
triadic
#A826A4 #A4A826 #26A4A8
tetradic
#A826A4 #A86B26 #26A82A #2663A8
square
#A826A4 #A86B26 #26A82A #2663A8
split-complementary
#A826A4 #63A826 #26A86B
monochromatic
#440F43 #761B73 #A826A4 #D239CD #DE6BDA

Accessibility & contrast

On white

6.04
#A826A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#A826A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A826A4
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A826A4#FFFFFF#000000##FFFFFF
##A826A41.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D58A7
Deuteranopia (green-blind)
#4E69A1
Tritanopia (blue-blind)
#AE3A64
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a826a4;
/* rgb */ color: rgb(168, 38, 164);
/* oklch */ color: oklch(52.7% 0.212 329.5);
Tailwind
colors: {
  custom: {
    50: '#c670bf',
    500: '#a826a4',
    950: '#000000',
  },
}
SCSS
$custom: #a826a4;
$custom-light: #c670bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a826a4",
  "rgb": {
    "r": 168,
    "g": 38,
    "b": 164
  },
  "hsl": {
    "h": 301.846,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.5267,
    "c": 0.21192,
    "h": 329.5
  },
  "luminance": 0.12391
}

Semantic roles & 50–950 ramp

primary
#A826A4
secondary
#66C469
accent
#E64742
background
#FCF7FB
surface
#F9EDF7
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A826A4

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

Preview Lab → · Contrast checker → · Palette generator →

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