#A2239E#A2239E

#A2239E is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.2% C 0.207 H 329.5°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A2239E
RGBrgb(162, 35, 158)
HSLhsl(302, 64%, 39%)
HSVhsv(302, 78%, 64%)
CMYKcmyk(0%, 78.4%, 2.5%, 36.5%)
CIE-LABlab(40.17, 63.35, -38.03)
CIE-LCHlch(40.17, 73.89, 329.03°)
OKLaboklab(51.18% 0.1788 -0.1052)
OKLCHoklch(51.18% 0.207 329.5)
XYZxyz(21.6727, 11.3538, 33.3911)
Luminance0.1135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2239E #23A227
analogous
#6623A2 #A2239E #A2235E
triadic
#A2239E #9EA223 #239EA2
tetradic
#A2239E #A26623 #23A227 #235EA2
square
#A2239E #A26623 #23A227 #235EA2
split-complementary
#A2239E #5EA223 #23A266
monochromatic
#3D0D3C #70186D #A2239E #D230CD #DD62D9

Accessibility & contrast

On white

6.42
#A2239E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A2239E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2239E
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2239E#FFFFFF#000000##FFFFFF
##A2239E1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0954A1
Deuteranopia (green-blind)
#4A649B
Tritanopia (blue-blind)
#A83760
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a2239e;
/* rgb */ color: rgb(162, 35, 158);
/* oklch */ color: oklch(51.2% 0.207 329.5);
Tailwind
colors: {
  custom: {
    50: '#c16ebb',
    500: '#a2239e',
    950: '#000000',
  },
}
SCSS
$custom: #a2239e;
$custom-light: #c16ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#a2239e",
  "rgb": {
    "r": 162,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 301.89,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.51178,
    "c": 0.20741,
    "h": 329.5
  },
  "luminance": 0.11352
}

Semantic roles & 50–950 ramp

primary
#A2239E
secondary
#5EC262
accent
#E74640
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A2239E

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

Preview Lab → · Contrast checker → · Palette generator →

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