#A7259E#A7259E

#A7259E is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.1% C 0.208 H 331.2°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#A7259E
RGBrgb(167, 37, 158)
HSLhsl(304, 64%, 40%)
HSVhsv(304, 78%, 65%)
CMYKcmyk(0%, 77.8%, 5.4%, 34.5%)
CIE-LABlab(41.23, 63.85, -36.29)
CIE-LCHlch(41.23, 73.44, 330.39°)
OKLaboklab(52.1% 0.1823 -0.1001)
OKLCHoklch(52.1% 0.208 331.2)
XYZxyz(22.7695, 12.0091, 33.4599)
Luminance0.1201 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7259E #25A72E
analogous
#6F25A7 #A7259E #A7255D
triadic
#A7259E #9EA725 #259EA7
tetradic
#A7259E #A76F25 #25A72E #255DA7
square
#A7259E #A76F25 #25A72E #255DA7
split-complementary
#A7259E #5DA725 #25A76F
monochromatic
#430F3F #751A6F #A7259E #D337C8 #DE69D6

Accessibility & contrast

On white

6.17
#A7259E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A7259E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7259E
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7259E#FFFFFF#000000##FFFFFF
##A7259E1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1656A1
Deuteranopia (green-blind)
#50679B
Tritanopia (blue-blind)
#AE3661
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a7259e;
/* rgb */ color: rgb(167, 37, 158);
/* oklch */ color: oklch(52.1% 0.208 331.2);
Tailwind
colors: {
  custom: {
    50: '#c56fbb',
    500: '#a7259e',
    950: '#000000',
  },
}
SCSS
$custom: #a7259e;
$custom-light: #c56fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#a7259e",
  "rgb": {
    "r": 167,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 304.154,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.52099,
    "c": 0.20797,
    "h": 331.2
  },
  "luminance": 0.12007
}

Semantic roles & 50–950 ramp

primary
#A7259E
secondary
#64C46B
accent
#E74D41
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A7259E

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

Preview Lab → · Contrast checker → · Palette generator →

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