#A626A7#A626A7

#A626A7 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.5% C 0.213 H 327.8°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#A626A7
RGBrgb(166, 38, 167)
HSLhsl(300, 63%, 40%)
HSVhsv(300, 77%, 65%)
CMYKcmyk(0.6%, 77.2%, 0%, 34.5%)
CIE-LABlab(41.67, 64.79, -41.01)
CIE-LCHlch(41.67, 76.67, 327.67°)
OKLaboklab(52.54% 0.1804 -0.1138)
OKLCHoklch(52.54% 0.213 327.8)
XYZxyz(23.3937, 12.2850, 37.6908)
Luminance0.1228 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A626A7 #27A726
analogous
#6626A7 #A626A7 #A72667
triadic
#A626A7 #A7A626 #26A7A6
tetradic
#A626A7 #A76626 #27A726 #2667A7
square
#A626A7 #A76626 #27A726 #2667A7
split-complementary
#A626A7 #67A726 #26A766
monochromatic
#430F43 #741B75 #A626A7 #D138D2 #DC6ADD

Accessibility & contrast

On white

6.08
#A626A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A626A7
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A626A7#FFFFFF#000000##FFFFFF
##A626A71.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AA
Deuteranopia (green-blind)
#4A68A4
Tritanopia (blue-blind)
#AB3C66
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a626a7;
/* rgb */ color: rgb(166, 38, 167);
/* oklch */ color: oklch(52.5% 0.213 327.8);
Tailwind
colors: {
  custom: {
    50: '#c470c2',
    500: '#a626a7',
    950: '#000000',
  },
}
SCSS
$custom: #a626a7;
$custom-light: #c470c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a626a7",
  "rgb": {
    "r": 166,
    "g": 38,
    "b": 167
  },
  "hsl": {
    "h": 299.535,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5254,
    "c": 0.21325,
    "h": 327.8
  },
  "luminance": 0.12283
}

Semantic roles & 50–950 ramp

primary
#A626A7
secondary
#66C365
accent
#E64243
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A626A7

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

Preview Lab → · Contrast checker → · Palette generator →

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