#A7259F#A7259F

#A7259F is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.2% C 0.209 H 330.9°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#A7259F
RGBrgb(167, 37, 159)
HSLhsl(304, 64%, 40%)
HSVhsv(304, 78%, 65%)
CMYKcmyk(0%, 77.8%, 4.8%, 34.5%)
CIE-LABlab(41.29, 64.01, -36.81)
CIE-LCHlch(41.29, 73.83, 330.10°)
OKLaboklab(52.16% 0.1823 -0.1016)
OKLCHoklch(52.16% 0.209 330.9)
XYZxyz(22.8559, 12.0437, 33.9151)
Luminance0.1204 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7259F #25A72D
analogous
#6E25A7 #A7259F #A7255E
triadic
#A7259F #9FA725 #259FA7
tetradic
#A7259F #A76E25 #25A72D #255EA7
square
#A7259F #A76E25 #25A72D #255EA7
split-complementary
#A7259F #5EA725 #25A76E
monochromatic
#430F40 #751A6F #A7259F #D337C9 #DE69D7

Accessibility & contrast

On white

6.16
#A7259F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#A7259F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7259F
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7259F#FFFFFF#000000##FFFFFF
##A7259F1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1556A2
Deuteranopia (green-blind)
#4F689C
Tritanopia (blue-blind)
#AE3761
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a7259f;
/* rgb */ color: rgb(167, 37, 159);
/* oklch */ color: oklch(52.2% 0.209 330.9);
Tailwind
colors: {
  custom: {
    50: '#c56fbc',
    500: '#a7259f',
    950: '#000000',
  },
}
SCSS
$custom: #a7259f;
$custom-light: #c56fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#a7259f",
  "rgb": {
    "r": 167,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 303.692,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.52156,
    "c": 0.2087,
    "h": 330.9
  },
  "luminance": 0.12042
}

Semantic roles & 50–950 ramp

primary
#A7259F
secondary
#64C46A
accent
#E74B41
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A7259F

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

Preview Lab → · Contrast checker → · Palette generator →

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