#A7259C#A7259C

#A7259C is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.0% C 0.207 H 332.0°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#A7259C
RGBrgb(167, 37, 156)
HSLhsl(305, 64%, 40%)
HSVhsv(305, 78%, 65%)
CMYKcmyk(0%, 77.8%, 6.6%, 34.5%)
CIE-LABlab(41.12, 63.54, -35.26)
CIE-LCHlch(41.12, 72.67, 330.97°)
OKLaboklab(51.99% 0.1823 -0.0971)
OKLCHoklch(51.99% 0.207 332)
XYZxyz(22.5987, 11.9408, 32.5606)
Luminance0.1194 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7259C #25A730
analogous
#7125A7 #A7259C #A7255B
triadic
#A7259C #9CA725 #259CA7
tetradic
#A7259C #A77125 #25A730 #255BA7
square
#A7259C #A77125 #25A730 #255BA7
split-complementary
#A7259C #5BA725 #25A771
monochromatic
#430F3E #751A6D #A7259C #D337C5 #DE69D4

Accessibility & contrast

On white

6.20
#A7259C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#A7259C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7259C
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7259C#FFFFFF#000000##FFFFFF
##A7259C1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A559F
Deuteranopia (green-blind)
#516799
Tritanopia (blue-blind)
#AE355F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a7259c;
/* rgb */ color: rgb(167, 37, 156);
/* oklch */ color: oklch(52.0% 0.207 332.0);
Tailwind
colors: {
  custom: {
    50: '#c56fb9',
    500: '#a7259c',
    950: '#000000',
  },
}
SCSS
$custom: #a7259c;
$custom-light: #c56fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#a7259c",
  "rgb": {
    "r": 167,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 305.077,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.51986,
    "c": 0.20652,
    "h": 332
  },
  "luminance": 0.11939
}

Semantic roles & 50–950 ramp

primary
#A7259C
secondary
#64C46C
accent
#E74F41
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A7259C

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

Preview Lab → · Contrast checker → · Palette generator →

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