#A626A4#A626A4

#A626A4 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.211 H 328.8°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#A626A4
RGBrgb(166, 38, 164)
HSLhsl(301, 63%, 40%)
HSVhsv(301, 77%, 65%)
CMYKcmyk(0%, 77.1%, 1.2%, 34.9%)
CIE-LABlab(41.49, 64.30, -39.49)
CIE-LCHlch(41.49, 75.46, 328.45°)
OKLaboklab(52.36% 0.1804 -0.1094)
OKLCHoklch(52.36% 0.211 328.8)
XYZxyz(23.1196, 12.1753, 36.2471)
Luminance0.1217 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A626A4 #26A628
analogous
#6826A6 #A626A4 #A62664
triadic
#A626A4 #A4A626 #26A4A6
tetradic
#A626A4 #A66826 #26A628 #2664A6
square
#A626A4 #A66826 #26A628 #2664A6
split-complementary
#A626A4 #64A626 #26A668
monochromatic
#420F42 #741B73 #A626A4 #D138CF #DD6ADB

Accessibility & contrast

On white

6.11
#A626A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#A626A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A626A4
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A626A4#FFFFFF#000000##FFFFFF
##A626A41.006.113.436.11
#FFFFFF6.111.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0857A7
Deuteranopia (green-blind)
#4C68A1
Tritanopia (blue-blind)
#AC3A64
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a626a4;
/* rgb */ color: rgb(166, 38, 164);
/* oklch */ color: oklch(52.4% 0.211 328.8);
Tailwind
colors: {
  custom: {
    50: '#c470bf',
    500: '#a626a4',
    950: '#000000',
  },
}
SCSS
$custom: #a626a4;
$custom-light: #c470bf;
$custom-dark: #000000;
JSON
{
  "hex": "#a626a4",
  "rgb": {
    "r": 166,
    "g": 38,
    "b": 164
  },
  "hsl": {
    "h": 300.938,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.52362,
    "c": 0.21099,
    "h": 328.8
  },
  "luminance": 0.12174
}

Semantic roles & 50–950 ramp

primary
#A626A4
secondary
#65C366
accent
#E64542
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A626A4

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

Preview Lab → · Contrast checker → · Palette generator →

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