#A626A8#A626A8

#A626A8 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.6% C 0.214 H 327.4°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#A626A8
RGBrgb(166, 38, 168)
HSLhsl(299, 63%, 40%)
HSVhsv(299, 77%, 66%)
CMYKcmyk(1.2%, 77.4%, 0%, 34.1%)
CIE-LABlab(41.72, 64.95, -41.51)
CIE-LCHlch(41.72, 77.08, 327.42°)
OKLaboklab(52.6% 0.1803 -0.1152)
OKLCHoklch(52.6% 0.214 327.4)
XYZxyz(23.4865, 12.3221, 38.1796)
Luminance0.1232 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A626A8 #28A826
analogous
#6526A8 #A626A8 #A82669
triadic
#A626A8 #A8A626 #26A8A6
tetradic
#A626A8 #A86526 #28A826 #2669A8
square
#A626A8 #A86526 #28A826 #2669A8
split-complementary
#A626A8 #69A826 #26A865
monochromatic
#430F44 #751B76 #A626A8 #D039D2 #DC6BDE

Accessibility & contrast

On white

6.06
#A626A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#A626A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A626A8
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A626A8#FFFFFF#000000##FFFFFF
##A626A81.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AB
Deuteranopia (green-blind)
#4968A5
Tritanopia (blue-blind)
#AB3D66
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a626a8;
/* rgb */ color: rgb(166, 38, 168);
/* oklch */ color: oklch(52.6% 0.214 327.4);
Tailwind
colors: {
  custom: {
    50: '#c470c2',
    500: '#a626a8',
    950: '#000000',
  },
}
SCSS
$custom: #a626a8;
$custom-light: #c470c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a626a8",
  "rgb": {
    "r": 166,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 299.077,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.526,
    "c": 0.214,
    "h": 327.4
  },
  "luminance": 0.1232
}

Semantic roles & 50–950 ramp

primary
#A626A8
secondary
#67C466
accent
#E64244
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A626A8

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

Preview Lab → · Contrast checker → · Palette generator →

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