#A626A5#A626A5

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

Color values

HEX#A626A5
RGBrgb(166, 38, 165)
HSLhsl(300, 63%, 40%)
HSVhsv(300, 77%, 65%)
CMYKcmyk(0%, 77.1%, 0.6%, 34.9%)
CIE-LABlab(41.55, 64.46, -39.99)
CIE-LCHlch(41.55, 75.86, 328.18°)
OKLaboklab(52.42% 0.1804 -0.1108)
OKLCHoklch(52.42% 0.212 328.4)
XYZxyz(23.2103, 12.2116, 36.7246)
Luminance0.1221 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A626A5 #26A627
analogous
#6726A6 #A626A5 #A62665
triadic
#A626A5 #A5A626 #26A5A6
tetradic
#A626A5 #A66726 #26A627 #2665A6
square
#A626A5 #A66726 #26A627 #2665A6
split-complementary
#A626A5 #65A626 #26A667
monochromatic
#420F42 #741B73 #A626A5 #D138D0 #DD6ADC

Accessibility & contrast

On white

6.10
#A626A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#A626A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A626A5
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A626A5#FFFFFF#000000##FFFFFF
##A626A51.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0557A8
Deuteranopia (green-blind)
#4B68A2
Tritanopia (blue-blind)
#AC3B65
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a626a5;
/* rgb */ color: rgb(166, 38, 165);
/* oklch */ color: oklch(52.4% 0.212 328.4);
Tailwind
colors: {
  custom: {
    50: '#c470c0',
    500: '#a626a5',
    950: '#000000',
  },
}
SCSS
$custom: #a626a5;
$custom-light: #c470c0;
$custom-dark: #000000;
JSON
{
  "hex": "#a626a5",
  "rgb": {
    "r": 166,
    "g": 38,
    "b": 165
  },
  "hsl": {
    "h": 300.469,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.52421,
    "c": 0.21174,
    "h": 328.4
  },
  "luminance": 0.1221
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A626A5

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

Preview Lab → · Contrast checker → · Palette generator →

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