#A626B1#A626B1

#A626B1 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.2% C 0.221 H 324.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#A626B1
RGBrgb(166, 38, 177)
HSLhsl(295, 65%, 42%)
HSVhsv(295, 79%, 69%)
CMYKcmyk(6.2%, 78.5%, 0%, 30.6%)
CIE-LABlab(42.26, 66.45, -46.00)
CIE-LCHlch(42.26, 80.82, 325.31°)
OKLaboklab(53.15% 0.1798 -0.1283)
OKLCHoklch(53.15% 0.221 324.5)
XYZxyz(24.3542, 12.6691, 42.7491)
Luminance0.1267 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A626B1 #31B126
analogous
#6126B1 #A626B1 #B12676
triadic
#A626B1 #B1A626 #26B1A6
tetradic
#A626B1 #B16126 #31B126 #2676B1
square
#A626B1 #B16126 #31B126 #2676B1
split-complementary
#A626B1 #76B126 #26B161
monochromatic
#47104C #771B7F #A626B1 #CA3FD6 #D871E0

Accessibility & contrast

On white

5.94
#A626B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#A626B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A626B1
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A626B1#FFFFFF#000000##FFFFFF
##A626B11.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB5
Deuteranopia (green-blind)
#4369AE
Tritanopia (blue-blind)
#A9416C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a626b1;
/* rgb */ color: rgb(166, 38, 177);
/* oklch */ color: oklch(53.2% 0.221 324.5);
Tailwind
colors: {
  custom: {
    50: '#c470c9',
    500: '#a626b1',
    950: '#000000',
  },
}
SCSS
$custom: #a626b1;
$custom-light: #c470c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a626b1",
  "rgb": {
    "r": 166,
    "g": 38,
    "b": 177
  },
  "hsl": {
    "h": 295.252,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53153,
    "c": 0.22091,
    "h": 324.5
  },
  "luminance": 0.12668
}

Semantic roles & 50–950 ramp

primary
#A626B1
secondary
#73C76B
accent
#E8404D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A626B1

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

Preview Lab → · Contrast checker → · Palette generator →

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