#A2239D#A2239D

#A2239D is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.1% C 0.207 H 329.9°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#A2239D
RGBrgb(162, 35, 157)
HSLhsl(302, 64%, 39%)
HSVhsv(302, 78%, 64%)
CMYKcmyk(0%, 78.4%, 3.1%, 36.5%)
CIE-LABlab(40.11, 63.19, -37.51)
CIE-LCHlch(40.11, 73.49, 329.31°)
OKLaboklab(51.12% 0.1788 -0.1037)
OKLCHoklch(51.12% 0.207 329.9)
XYZxyz(21.5870, 11.3195, 32.9397)
Luminance0.1132 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2239D #23A228
analogous
#6723A2 #A2239D #A2235D
triadic
#A2239D #9DA223 #239DA2
tetradic
#A2239D #A26723 #23A228 #235DA2
square
#A2239D #A26723 #23A228 #235DA2
split-complementary
#A2239D #5DA223 #23A267
monochromatic
#3D0D3B #70186C #A2239D #D230CC #DD62D8

Accessibility & contrast

On white

6.43
#A2239D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A2239D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2239D
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2239D#FFFFFF#000000##FFFFFF
##A2239D1.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C54A0
Deuteranopia (green-blind)
#4B649A
Tritanopia (blue-blind)
#A83660
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a2239d;
/* rgb */ color: rgb(162, 35, 157);
/* oklch */ color: oklch(51.1% 0.207 329.9);
Tailwind
colors: {
  custom: {
    50: '#c16eba',
    500: '#a2239d',
    950: '#000000',
  },
}
SCSS
$custom: #a2239d;
$custom-light: #c16eba;
$custom-dark: #000000;
JSON
{
  "hex": "#a2239d",
  "rgb": {
    "r": 162,
    "g": 35,
    "b": 157
  },
  "hsl": {
    "h": 302.362,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.5112,
    "c": 0.20667,
    "h": 329.9
  },
  "luminance": 0.11318
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A2239D

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

Preview Lab → · Contrast checker → · Palette generator →

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