#A72698#A72698

#A72698 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.8% C 0.203 H 333.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A72698
RGBrgb(167, 38, 152)
HSLhsl(307, 63%, 40%)
HSVhsv(307, 77%, 65%)
CMYKcmyk(0%, 77.2%, 9%, 34.5%)
CIE-LABlab(41.01, 62.64, -33.02)
CIE-LCHlch(41.01, 70.81, 332.20°)
OKLaboklab(51.84% 0.1813 -0.0906)
OKLCHoklch(51.84% 0.203 333.4)
XYZxyz(22.2971, 11.8707, 30.8166)
Luminance0.1187 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72698 #26A735
analogous
#7626A7 #A72698 #A72657
triadic
#A72698 #98A726 #2698A7
tetradic
#A72698 #A77626 #26A735 #2657A7
square
#A72698 #A77626 #26A735 #2657A7
split-complementary
#A72698 #57A726 #26A776
monochromatic
#430F3D #751B6B #A72698 #D238C0 #DD6AD0

Accessibility & contrast

On white

6.22
#A72698 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A72698 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72698
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72698#FFFFFF#000000##FFFFFF
##A726981.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21559B
Deuteranopia (green-blind)
#536795
Tritanopia (blue-blind)
#AF345D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a72698;
/* rgb */ color: rgb(167, 38, 152);
/* oklch */ color: oklch(51.8% 0.203 333.4);
Tailwind
colors: {
  custom: {
    50: '#c56fb7',
    500: '#a72698',
    950: '#000000',
  },
}
SCSS
$custom: #a72698;
$custom-light: #c56fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a72698",
  "rgb": {
    "r": 167,
    "g": 38,
    "b": 152
  },
  "hsl": {
    "h": 306.977,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51837,
    "c": 0.20269,
    "h": 333.4
  },
  "luminance": 0.11869
}

Semantic roles & 50–950 ramp

primary
#A72698
secondary
#65C370
accent
#E65542
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A72698

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

Preview Lab → · Contrast checker → · Palette generator →

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