#A626A1#A626A1

#A626A1 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.2% C 0.209 H 329.8°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#A626A1
RGBrgb(166, 38, 161)
HSLhsl(302, 63%, 40%)
HSVhsv(302, 77%, 65%)
CMYKcmyk(0%, 77.1%, 3%, 34.9%)
CIE-LABlab(41.32, 63.82, -37.96)
CIE-LCHlch(41.32, 74.25, 329.26°)
OKLaboklab(52.19% 0.1805 -0.1049)
OKLCHoklch(52.19% 0.209 329.8)
XYZxyz(22.8519, 12.0682, 34.8371)
Luminance0.1207 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A626A1 #26A62B
analogous
#6B26A6 #A626A1 #A62661
triadic
#A626A1 #A1A626 #26A1A6
tetradic
#A626A1 #A66B26 #26A62B #2661A6
square
#A626A1 #A66B26 #26A62B #2661A6
split-complementary
#A626A1 #61A626 #26A66B
monochromatic
#420F40 #741B71 #A626A1 #D138CB #DD6AD8

Accessibility & contrast

On white

6.15
#A626A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#A626A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A626A1
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A626A1#FFFFFF#000000##FFFFFF
##A626A11.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1157A4
Deuteranopia (green-blind)
#4E679E
Tritanopia (blue-blind)
#AC3963
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a626a1;
/* rgb */ color: rgb(166, 38, 161);
/* oklch */ color: oklch(52.2% 0.209 329.8);
Tailwind
colors: {
  custom: {
    50: '#c470bd',
    500: '#a626a1',
    950: '#000000',
  },
}
SCSS
$custom: #a626a1;
$custom-light: #c470bd;
$custom-dark: #000000;
JSON
{
  "hex": "#a626a1",
  "rgb": {
    "r": 166,
    "g": 38,
    "b": 161
  },
  "hsl": {
    "h": 302.344,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.52187,
    "c": 0.20875,
    "h": 329.8
  },
  "luminance": 0.12066
}

Semantic roles & 50–950 ramp

primary
#A626A1
secondary
#65C369
accent
#E64842
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A626A1

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

Preview Lab → · Contrast checker → · Palette generator →

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