#A72398#A72398

#A72398 is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.6% C 0.206 H 333.4°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#A72398
RGBrgb(167, 35, 152)
HSLhsl(307, 65%, 40%)
HSVhsv(307, 79%, 65%)
CMYKcmyk(0%, 79%, 9%, 34.5%)
CIE-LABlab(40.71, 63.49, -33.49)
CIE-LCHlch(40.71, 71.78, 332.19°)
OKLaboklab(51.63% 0.1838 -0.0919)
OKLCHoklch(51.63% 0.206 333.4)
XYZxyz(22.2051, 11.6865, 30.7859)
Luminance0.1168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72398 #23A732
analogous
#7423A7 #A72398 #A72356
triadic
#A72398 #98A723 #2398A7
tetradic
#A72398 #A77423 #23A732 #2356A7
square
#A72398 #A77423 #23A732 #2356A7
split-complementary
#A72398 #56A723 #23A774
monochromatic
#420E3C #74186A #A72398 #D433C2 #DF66D1

Accessibility & contrast

On white

6.29
#A72398 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A72398 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72398
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72398#FFFFFF#000000##FFFFFF
##A723981.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D549B
Deuteranopia (green-blind)
#526795
Tritanopia (blue-blind)
#AF325D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a72398;
/* rgb */ color: rgb(167, 35, 152);
/* oklch */ color: oklch(51.6% 0.206 333.4);
Tailwind
colors: {
  custom: {
    50: '#c56eb7',
    500: '#a72398',
    950: '#000000',
  },
}
SCSS
$custom: #a72398;
$custom-light: #c56eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a72398",
  "rgb": {
    "r": 167,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 306.818,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51625,
    "c": 0.20552,
    "h": 333.4
  },
  "luminance": 0.11685
}

Semantic roles & 50–950 ramp

primary
#A72398
secondary
#61C46D
accent
#E8533F
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A72398

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

Preview Lab → · Contrast checker → · Palette generator →

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