#A2239A#A2239A

#A2239A is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.9% C 0.204 H 331.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#A2239A
RGBrgb(162, 35, 154)
HSLhsl(304, 64%, 39%)
HSVhsv(304, 78%, 64%)
CMYKcmyk(0%, 78.4%, 4.9%, 36.5%)
CIE-LABlab(39.95, 62.72, -35.97)
CIE-LCHlch(39.95, 72.30, 330.17°)
OKLaboklab(50.95% 0.1788 -0.0992)
OKLCHoklch(50.95% 0.204 331)
XYZxyz(21.3340, 11.2183, 31.6073)
Luminance0.1122 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2239A #23A22B
analogous
#6A23A2 #A2239A #A2235A
triadic
#A2239A #9AA223 #239AA2
tetradic
#A2239A #A26A23 #23A22B #235AA2
square
#A2239A #A26A23 #23A22B #235AA2
split-complementary
#A2239A #5AA223 #23A26A
monochromatic
#3D0D3A #70186A #A2239A #D230C8 #DD62D5

Accessibility & contrast

On white

6.47
#A2239A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A2239A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2239A
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2239A#FFFFFF#000000##FFFFFF
##A2239A1.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13539D
Deuteranopia (green-blind)
#4D6497
Tritanopia (blue-blind)
#A9355E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a2239a;
/* rgb */ color: rgb(162, 35, 154);
/* oklch */ color: oklch(50.9% 0.204 331.0);
Tailwind
colors: {
  custom: {
    50: '#c16eb8',
    500: '#a2239a',
    950: '#000000',
  },
}
SCSS
$custom: #a2239a;
$custom-light: #c16eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#a2239a",
  "rgb": {
    "r": 162,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 303.78,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50946,
    "c": 0.20447,
    "h": 331
  },
  "luminance": 0.11217
}

Semantic roles & 50–950 ramp

primary
#A2239A
secondary
#5EC265
accent
#E74B40
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A2239A

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

Preview Lab → · Contrast checker → · Palette generator →

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