#A726B1#A726B1

#A726B1 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.3% C 0.221 H 324.8°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#A726B1
RGBrgb(167, 38, 177)
HSLhsl(296, 65%, 42%)
HSVhsv(296, 79%, 69%)
CMYKcmyk(5.6%, 78.5%, 0%, 30.6%)
CIE-LABlab(42.43, 66.65, -45.72)
CIE-LCHlch(42.43, 80.83, 325.55°)
OKLaboklab(53.3% 0.1809 -0.1275)
OKLCHoklch(53.3% 0.221 324.8)
XYZxyz(24.5647, 12.7777, 42.7589)
Luminance0.1278 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A726B1 #30B126
analogous
#6126B1 #A726B1 #B12676
triadic
#A726B1 #B1A726 #26B1A7
tetradic
#A726B1 #B16126 #30B126 #2676B1
square
#A726B1 #B16126 #30B126 #2676B1
split-complementary
#A726B1 #76B126 #26B161
monochromatic
#48104C #771B7F #A726B1 #CB3FD6 #D871E0

Accessibility & contrast

On white

5.91
#A726B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#A726B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A726B1
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A726B1#FFFFFF#000000##FFFFFF
##A726B11.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a726b1;
/* rgb */ color: rgb(167, 38, 177);
/* oklch */ color: oklch(53.3% 0.221 324.8);
Tailwind
colors: {
  custom: {
    50: '#c570c9',
    500: '#a726b1',
    950: '#000000',
  },
}
SCSS
$custom: #a726b1;
$custom-light: #c570c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a726b1",
  "rgb": {
    "r": 167,
    "g": 38,
    "b": 177
  },
  "hsl": {
    "h": 295.683,
    "s": 64.651,
    "l": 42.157
  },
  "oklch": {
    "l": 0.53303,
    "c": 0.22134,
    "h": 324.8
  },
  "luminance": 0.12776
}

Semantic roles & 50–950 ramp

primary
#A726B1
secondary
#72C76B
accent
#E8404C
background
#FCF7FC
surface
#F9EDF8
border
#D2C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A726B1

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

Preview Lab → · Contrast checker → · Palette generator →

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