#A7259D#A7259D

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

Color values

HEX#A7259D
RGBrgb(167, 37, 157)
HSLhsl(305, 64%, 40%)
HSVhsv(305, 78%, 65%)
CMYKcmyk(0%, 77.8%, 6%, 34.5%)
CIE-LABlab(41.18, 63.69, -35.77)
CIE-LCHlch(41.18, 73.05, 330.68°)
OKLaboklab(52.04% 0.1823 -0.0986)
OKLCHoklch(52.04% 0.207 331.6)
XYZxyz(22.6837, 11.9748, 33.0084)
Luminance0.1197 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7259D #25A72F
analogous
#7025A7 #A7259D #A7255C
triadic
#A7259D #9DA725 #259DA7
tetradic
#A7259D #A77025 #25A72F #255CA7
square
#A7259D #A77025 #25A72F #255CA7
split-complementary
#A7259D #5CA725 #25A770
monochromatic
#430F3F #751A6E #A7259D #D337C7 #DE69D5

Accessibility & contrast

On white

6.19
#A7259D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A7259D
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7259D#FFFFFF#000000##FFFFFF
##A7259D1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1856A0
Deuteranopia (green-blind)
#50679A
Tritanopia (blue-blind)
#AE3660
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a7259d;
/* rgb */ color: rgb(167, 37, 157);
/* oklch */ color: oklch(52.0% 0.207 331.6);
Tailwind
colors: {
  custom: {
    50: '#c56fba',
    500: '#a7259d',
    950: '#000000',
  },
}
SCSS
$custom: #a7259d;
$custom-light: #c56fba;
$custom-dark: #000000;
JSON
{
  "hex": "#a7259d",
  "rgb": {
    "r": 167,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 304.615,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.52042,
    "c": 0.20725,
    "h": 331.6
  },
  "luminance": 0.11973
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A7259D

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

Preview Lab → · Contrast checker → · Palette generator →

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