#A7259B#A7259B

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

Color values

HEX#A7259B
RGBrgb(167, 37, 155)
HSLhsl(306, 64%, 40%)
HSVhsv(306, 78%, 65%)
CMYKcmyk(0%, 77.8%, 7.2%, 34.5%)
CIE-LABlab(41.07, 63.39, -34.74)
CIE-LCHlch(41.07, 72.28, 331.27°)
OKLaboklab(51.93% 0.1823 -0.0956)
OKLCHoklch(51.93% 0.206 332.3)
XYZxyz(22.5144, 11.9071, 32.1165)
Luminance0.1191 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7259B #25A731
analogous
#7225A7 #A7259B #A7255A
triadic
#A7259B #9BA725 #259BA7
tetradic
#A7259B #A77225 #25A731 #255AA7
square
#A7259B #A77225 #25A731 #255AA7
split-complementary
#A7259B #5AA725 #25A772
monochromatic
#430F3E #751A6D #A7259B #D337C4 #DE69D3

Accessibility & contrast

On white

6.21
#A7259B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A7259B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7259B
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7259B#FFFFFF#000000##FFFFFF
##A7259B1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7259b;
/* rgb */ color: rgb(167, 37, 155);
/* oklch */ color: oklch(51.9% 0.206 332.3);
Tailwind
colors: {
  custom: {
    50: '#c56fb9',
    500: '#a7259b',
    950: '#000000',
  },
}
SCSS
$custom: #a7259b;
$custom-light: #c56fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#a7259b",
  "rgb": {
    "r": 167,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 305.538,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.5193,
    "c": 0.20579,
    "h": 332.3
  },
  "luminance": 0.11905
}

Semantic roles & 50–950 ramp

primary
#A7259B
secondary
#64C46D
accent
#E75041
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A7259B

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

Preview Lab → · Contrast checker → · Palette generator →

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