#A7259A#A7259A

#A7259A is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.9% C 0.205 H 332.7°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A7259A
RGBrgb(167, 37, 154)
HSLhsl(306, 64%, 40%)
HSVhsv(306, 78%, 65%)
CMYKcmyk(0%, 77.8%, 7.8%, 34.5%)
CIE-LABlab(41.01, 63.23, -34.22)
CIE-LCHlch(41.01, 71.90, 331.58°)
OKLaboklab(51.88% 0.1822 -0.0941)
OKLCHoklch(51.88% 0.205 332.7)
XYZxyz(22.4308, 11.8736, 31.6761)
Luminance0.1187 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7259A #25A732
analogous
#7325A7 #A7259A #A72559
triadic
#A7259A #9AA725 #259AA7
tetradic
#A7259A #A77325 #25A732 #2559A7
square
#A7259A #A77325 #25A732 #2559A7
split-complementary
#A7259A #59A725 #25A773
monochromatic
#430F3E #751A6C #A7259A #D337C3 #DE69D2

Accessibility & contrast

On white

6.22
#A7259A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A7259A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7259A
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7259A#FFFFFF#000000##FFFFFF
##A7259A1.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D559D
Deuteranopia (green-blind)
#526797
Tritanopia (blue-blind)
#AF345E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a7259a;
/* rgb */ color: rgb(167, 37, 154);
/* oklch */ color: oklch(51.9% 0.205 332.7);
Tailwind
colors: {
  custom: {
    50: '#c56fb8',
    500: '#a7259a',
    950: '#000000',
  },
}
SCSS
$custom: #a7259a;
$custom-light: #c56fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#a7259a",
  "rgb": {
    "r": 167,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 306,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.51875,
    "c": 0.20508,
    "h": 332.7
  },
  "luminance": 0.11872
}

Semantic roles & 50–950 ramp

primary
#A7259A
secondary
#64C46E
accent
#E75241
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A7259A

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

Preview Lab → · Contrast checker → · Palette generator →

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