#A626A2#A626A2

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

Color values

HEX#A626A2
RGBrgb(166, 38, 162)
HSLhsl(302, 63%, 40%)
HSVhsv(302, 77%, 65%)
CMYKcmyk(0%, 77.1%, 2.4%, 34.9%)
CIE-LABlab(41.38, 63.98, -38.47)
CIE-LCHlch(41.38, 74.65, 328.98°)
OKLaboklab(52.25% 0.1805 -0.1064)
OKLCHoklch(52.25% 0.21 329.5)
XYZxyz(22.9404, 12.1036, 35.3034)
Luminance0.1210 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A626A2 #26A62A
analogous
#6A26A6 #A626A2 #A62662
triadic
#A626A2 #A2A626 #26A2A6
tetradic
#A626A2 #A66A26 #26A62A #2662A6
square
#A626A2 #A66A26 #26A62A #2662A6
split-complementary
#A626A2 #62A626 #26A66A
monochromatic
#420F41 #741B71 #A626A2 #D138CD #DD6AD9

Accessibility & contrast

On white

6.14
#A626A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#A626A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A626A2
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A626A2#FFFFFF#000000##FFFFFF
##A626A21.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E57A5
Deuteranopia (green-blind)
#4D679F
Tritanopia (blue-blind)
#AC3963
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a626a2;
/* rgb */ color: rgb(166, 38, 162);
/* oklch */ color: oklch(52.2% 0.209 329.5);
Tailwind
colors: {
  custom: {
    50: '#c470be',
    500: '#a626a2',
    950: '#000000',
  },
}
SCSS
$custom: #a626a2;
$custom-light: #c470be;
$custom-dark: #000000;
JSON
{
  "hex": "#a626a2",
  "rgb": {
    "r": 166,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 301.875,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.52245,
    "c": 0.2095,
    "h": 329.5
  },
  "luminance": 0.12102
}

Semantic roles & 50–950 ramp

primary
#A626A2
secondary
#65C368
accent
#E64742
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A626A2

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

Preview Lab → · Contrast checker → · Palette generator →

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