#A2339A#A2339A

#A2339A is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.3% C 0.187 H 330.9°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#A2339A
RGBrgb(162, 51, 154)
HSLhsl(304, 52%, 42%)
HSVhsv(304, 69%, 64%)
CMYKcmyk(0%, 68.5%, 4.9%, 36.5%)
CIE-LABlab(41.82, 57.38, -33.01)
CIE-LCHlch(41.82, 66.20, 330.09°)
OKLaboklab(52.29% 0.1634 -0.0908)
OKLCHoklch(52.29% 0.187 330.9)
XYZxyz(21.9168, 12.3838, 31.8016)
Luminance0.1238 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2339A #33A23B
analogous
#7333A2 #A2339A #A23363
triadic
#A2339A #9AA233 #339AA2
tetradic
#A2339A #A27333 #33A23B #3363A2
square
#A2339A #A27333 #33A23B #3363A2
split-complementary
#A2339A #63A233 #33A273
monochromatic
#451642 #73246E #A2339A #C74CBE #D57ACF

Accessibility & contrast

On white

6.04
#A2339A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#A2339A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2339A
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2339A#FFFFFF#000000##FFFFFF
##A2339A1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B599D
Deuteranopia (green-blind)
#536897
Tritanopia (blue-blind)
#A83F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a2339a;
/* rgb */ color: rgb(162, 51, 154);
/* oklch */ color: oklch(52.3% 0.187 330.9);
Tailwind
colors: {
  custom: {
    50: '#c174b8',
    500: '#a2339a',
    950: '#000000',
  },
}
SCSS
$custom: #a2339a;
$custom-light: #c174b8;
$custom-dark: #000000;
JSON
{
  "hex": "#a2339a",
  "rgb": {
    "r": 162,
    "g": 51,
    "b": 154
  },
  "hsl": {
    "h": 304.324,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52292,
    "c": 0.18691,
    "h": 330.9
  },
  "luminance": 0.12382
}

Semantic roles & 50–950 ramp

primary
#A2339A
secondary
#73BE78
accent
#DC574C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A2339A

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

Preview Lab → · Contrast checker → · Palette generator →

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