#A7239A#A7239A

#A7239A is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.7% C 0.207 H 332.7°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A7239A
RGBrgb(167, 35, 154)
HSLhsl(306, 65%, 40%)
HSVhsv(306, 79%, 65%)
CMYKcmyk(0%, 79%, 7.8%, 34.5%)
CIE-LABlab(40.82, 63.79, -34.53)
CIE-LCHlch(40.82, 72.54, 331.58°)
OKLaboklab(51.74% 0.1839 -0.095)
OKLCHoklch(51.74% 0.207 332.7)
XYZxyz(22.3702, 11.7526, 31.6559)
Luminance0.1175 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7239A #23A730
analogous
#7223A7 #A7239A #A72358
triadic
#A7239A #9AA723 #239AA7
tetradic
#A7239A #A77223 #23A730 #2358A7
square
#A7239A #A77223 #23A730 #2358A7
split-complementary
#A7239A #58A723 #23A772
monochromatic
#420E3D #74186B #A7239A #D433C4 #DF66D3

Accessibility & contrast

On white

6.27
#A7239A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A7239A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7239A
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7239A#FFFFFF#000000##FFFFFF
##A7239A1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A549D
Deuteranopia (green-blind)
#516797
Tritanopia (blue-blind)
#AF335E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a7239a;
/* rgb */ color: rgb(167, 35, 154);
/* oklch */ color: oklch(51.7% 0.207 332.7);
Tailwind
colors: {
  custom: {
    50: '#c56eb8',
    500: '#a7239a',
    950: '#000000',
  },
}
SCSS
$custom: #a7239a;
$custom-light: #c56eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#a7239a",
  "rgb": {
    "r": 167,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 305.909,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51735,
    "c": 0.20693,
    "h": 332.7
  },
  "luminance": 0.11751
}

Semantic roles & 50–950 ramp

primary
#A7239A
secondary
#61C46B
accent
#E8503F
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A7239A

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

Preview Lab → · Contrast checker → · Palette generator →

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