#A7239B#A7239B

#A7239B is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.8% C 0.208 H 332.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#A7239B
RGBrgb(167, 35, 155)
HSLhsl(305, 65%, 40%)
HSVhsv(305, 79%, 65%)
CMYKcmyk(0%, 79%, 7.2%, 34.5%)
CIE-LABlab(40.87, 63.95, -35.05)
CIE-LCHlch(40.87, 72.92, 331.27°)
OKLaboklab(51.79% 0.1839 -0.0965)
OKLCHoklch(51.79% 0.208 332.3)
XYZxyz(22.4539, 11.7860, 32.0963)
Luminance0.1178 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7239B #23A72F
analogous
#7123A7 #A7239B #A72359
triadic
#A7239B #9BA723 #239BA7
tetradic
#A7239B #A77123 #23A72F #2359A7
square
#A7239B #A77123 #23A72F #2359A7
split-complementary
#A7239B #59A723 #23A771
monochromatic
#420E3D #74186C #A7239B #D433C6 #DF66D4

Accessibility & contrast

On white

6.26
#A7239B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A7239B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7239B
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7239B#FFFFFF#000000##FFFFFF
##A7239B1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18559E
Deuteranopia (green-blind)
#516798
Tritanopia (blue-blind)
#AE345E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a7239b;
/* rgb */ color: rgb(167, 35, 155);
/* oklch */ color: oklch(51.8% 0.208 332.3);
Tailwind
colors: {
  custom: {
    50: '#c56eb9',
    500: '#a7239b',
    950: '#000000',
  },
}
SCSS
$custom: #a7239b;
$custom-light: #c56eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#a7239b",
  "rgb": {
    "r": 167,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 305.455,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.51791,
    "c": 0.20764,
    "h": 332.3
  },
  "luminance": 0.11784
}

Semantic roles & 50–950 ramp

primary
#A7239B
secondary
#61C46A
accent
#E84F3F
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A7239B

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

Preview Lab → · Contrast checker → · Palette generator →

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