#A726AF#A726AF

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

Color values

HEX#A726AF
RGBrgb(167, 38, 175)
HSLhsl(296, 64%, 42%)
HSVhsv(296, 78%, 69%)
CMYKcmyk(4.6%, 78.3%, 0%, 31.4%)
CIE-LABlab(42.31, 66.31, -44.73)
CIE-LCHlch(42.31, 79.99, 326.00°)
OKLaboklab(53.18% 0.1811 -0.1246)
OKLCHoklch(53.18% 0.22 325.5)
XYZxyz(24.3668, 12.6985, 41.7168)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A726AF #2EAF26
analogous
#6226AF #A726AF #AF2673
triadic
#A726AF #AFA726 #26AFA7
tetradic
#A726AF #AF6226 #2EAF26 #2673AF
square
#A726AF #AF6226 #2EAF26 #2673AF
split-complementary
#A726AF #73AF26 #26AF62
monochromatic
#47104A #771B7D #A726AF #CC3DD5 #D970E0

Accessibility & contrast

On white

5.93
#A726AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A726AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A726AF
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A726AF#FFFFFF#000000##FFFFFF
##A726AF1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB3
Deuteranopia (green-blind)
#4669AC
Tritanopia (blue-blind)
#AB406A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a726af;
/* rgb */ color: rgb(167, 38, 175);
/* oklch */ color: oklch(53.2% 0.220 325.5);
Tailwind
colors: {
  custom: {
    50: '#c570c7',
    500: '#a726af',
    950: '#000000',
  },
}
SCSS
$custom: #a726af;
$custom-light: #c570c7;
$custom-dark: #000000;
JSON
{
  "hex": "#a726af",
  "rgb": {
    "r": 167,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 296.496,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.53178,
    "c": 0.2198,
    "h": 325.5
  },
  "luminance": 0.12697
}

Semantic roles & 50–950 ramp

primary
#A726AF
secondary
#70C76A
accent
#E7404A
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A726AF

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

Preview Lab → · Contrast checker → · Palette generator →

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