#A7239E#A7239E

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

Color values

HEX#A7239E
RGBrgb(167, 35, 158)
HSLhsl(304, 65%, 40%)
HSVhsv(304, 79%, 65%)
CMYKcmyk(0%, 79%, 5.4%, 34.5%)
CIE-LABlab(41.04, 64.41, -36.60)
CIE-LCHlch(41.04, 74.08, 330.39°)
OKLaboklab(51.96% 0.1839 -0.1009)
OKLCHoklch(51.96% 0.21 331.2)
XYZxyz(22.7089, 11.8881, 33.4397)
Luminance0.1189 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7239E #23A72C
analogous
#6E23A7 #A7239E #A7235C
triadic
#A7239E #9EA723 #239EA7
tetradic
#A7239E #A76E23 #23A72C #235CA7
square
#A7239E #A76E23 #23A72C #235CA7
split-complementary
#A7239E #5CA723 #23A76E
monochromatic
#420E3E #74186E #A7239E #D433C9 #DF66D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7239E#FFFFFF#000000##FFFFFF
##A7239E1.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1355A1
Deuteranopia (green-blind)
#4F679B
Tritanopia (blue-blind)
#AE3560
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a7239e;
/* rgb */ color: rgb(167, 35, 158);
/* oklch */ color: oklch(52.0% 0.210 331.2);
Tailwind
colors: {
  custom: {
    50: '#c56fbb',
    500: '#a7239e',
    950: '#000000',
  },
}
SCSS
$custom: #a7239e;
$custom-light: #c56fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#a7239e",
  "rgb": {
    "r": 167,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 304.091,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51961,
    "c": 0.2098,
    "h": 331.2
  },
  "luminance": 0.11886
}

Semantic roles & 50–950 ramp

primary
#A7239E
secondary
#61C468
accent
#E84B3F
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A7239E

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

Preview Lab → · Contrast checker → · Palette generator →

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