#A7239F#A7239F

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

Color values

HEX#A7239F
RGBrgb(167, 35, 159)
HSLhsl(304, 65%, 40%)
HSVhsv(304, 79%, 65%)
CMYKcmyk(0%, 79%, 4.8%, 34.5%)
CIE-LABlab(41.09, 64.56, -37.11)
CIE-LCHlch(41.09, 74.47, 330.11°)
OKLaboklab(52.02% 0.1839 -0.1024)
OKLCHoklch(52.02% 0.211 330.9)
XYZxyz(22.7954, 11.9226, 33.8949)
Luminance0.1192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7239F #23A72B
analogous
#6D23A7 #A7239F #A7235D
triadic
#A7239F #9FA723 #239FA7
tetradic
#A7239F #A76D23 #23A72B #235DA7
square
#A7239F #A76D23 #23A72B #235DA7
split-complementary
#A7239F #5DA723 #23A76D
monochromatic
#420E3F #74186F #A7239F #D433CA #DF66D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7239F#FFFFFF#000000##FFFFFF
##A7239F1.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)
#1155A2
Deuteranopia (green-blind)
#4F679C
Tritanopia (blue-blind)
#AE3661
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a7239f;
/* rgb */ color: rgb(167, 35, 159);
/* oklch */ color: oklch(52.0% 0.211 330.9);
Tailwind
colors: {
  custom: {
    50: '#c56fbc',
    500: '#a7239f',
    950: '#000000',
  },
}
SCSS
$custom: #a7239f;
$custom-light: #c56fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#a7239f",
  "rgb": {
    "r": 167,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 303.636,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.52018,
    "c": 0.21053,
    "h": 330.9
  },
  "luminance": 0.11921
}

Semantic roles & 50–950 ramp

primary
#A7239F
secondary
#61C467
accent
#E84A3F
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A7239F

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

Preview Lab → · Contrast checker → · Palette generator →

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