#A626A6#A626A6

#A626A6 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.5% C 0.212 H 328.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#A626A6
RGBrgb(166, 38, 166)
HSLhsl(300, 63%, 40%)
HSVhsv(300, 77%, 65%)
CMYKcmyk(0%, 77.1%, 0%, 34.9%)
CIE-LABlab(41.61, 64.63, -40.50)
CIE-LCHlch(41.61, 76.27, 327.93°)
OKLaboklab(52.48% 0.1804 -0.1123)
OKLCHoklch(52.48% 0.212 328.1)
XYZxyz(23.3017, 12.2481, 37.2058)
Luminance0.1225 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A626A6 #26A626
analogous
#6626A6 #A626A6 #A62666
triadic
#A626A6 #A6A626 #26A6A6
tetradic
#A626A6 #A66626 #26A626 #2666A6
square
#A626A6 #A66626 #26A626 #2666A6
split-complementary
#A626A6 #66A626 #26A666
monochromatic
#420F42 #741B74 #A626A6 #D138D1 #DD6ADD

Accessibility & contrast

On white

6.09
#A626A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A626A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A626A6
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A626A6#FFFFFF#000000##FFFFFF
##A626A61.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0158A9
Deuteranopia (green-blind)
#4B68A3
Tritanopia (blue-blind)
#AB3B65
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a626a6;
/* rgb */ color: rgb(166, 38, 166);
/* oklch */ color: oklch(52.5% 0.212 328.1);
Tailwind
colors: {
  custom: {
    50: '#c470c1',
    500: '#a626a6',
    950: '#000000',
  },
}
SCSS
$custom: #a626a6;
$custom-light: #c470c1;
$custom-dark: #000000;
JSON
{
  "hex": "#a626a6",
  "rgb": {
    "r": 166,
    "g": 38,
    "b": 166
  },
  "hsl": {
    "h": 300,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.5248,
    "c": 0.21249,
    "h": 328.1
  },
  "luminance": 0.12246
}

Semantic roles & 50–950 ramp

primary
#A626A6
secondary
#65C365
accent
#E64242
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A626A6

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

Preview Lab → · Contrast checker → · Palette generator →

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