#A726A8#A726A8

#A726A8 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.8% C 0.214 H 327.8°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#A726A8
RGBrgb(167, 38, 168)
HSLhsl(300, 63%, 40%)
HSVhsv(300, 77%, 66%)
CMYKcmyk(0.6%, 77.4%, 0%, 34.1%)
CIE-LABlab(41.89, 65.16, -41.23)
CIE-LCHlch(41.89, 77.11, 327.68°)
OKLaboklab(52.75% 0.1814 -0.1144)
OKLCHoklch(52.75% 0.214 327.8)
XYZxyz(23.6970, 12.4306, 38.1894)
Luminance0.1243 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A726A8 #27A826
analogous
#6626A8 #A726A8 #A82668
triadic
#A726A8 #A8A726 #26A8A7
tetradic
#A726A8 #A86626 #27A826 #2668A8
square
#A726A8 #A86626 #27A826 #2668A8
split-complementary
#A726A8 #68A826 #26A866
monochromatic
#440F44 #751B76 #A726A8 #D139D2 #DD6BDE

Accessibility & contrast

On white

6.02
#A726A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#A726A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A726A8
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A726A8#FFFFFF#000000##FFFFFF
##A726A81.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AB
Deuteranopia (green-blind)
#4A68A5
Tritanopia (blue-blind)
#AC3C66
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a726a8;
/* rgb */ color: rgb(167, 38, 168);
/* oklch */ color: oklch(52.8% 0.214 327.8);
Tailwind
colors: {
  custom: {
    50: '#c570c2',
    500: '#a726a8',
    950: '#000000',
  },
}
SCSS
$custom: #a726a8;
$custom-light: #c570c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a726a8",
  "rgb": {
    "r": 167,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 299.538,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52752,
    "c": 0.21446,
    "h": 327.8
  },
  "luminance": 0.12429
}

Semantic roles & 50–950 ramp

primary
#A726A8
secondary
#67C466
accent
#E64243
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #A726A8

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

Preview Lab → · Contrast checker → · Palette generator →

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