#A2339E#A2339E

#A2339E is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.5% C 0.190 H 329.4°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#A2339E
RGBrgb(162, 51, 158)
HSLhsl(302, 52%, 42%)
HSVhsv(302, 69%, 64%)
CMYKcmyk(0%, 68.5%, 2.5%, 36.5%)
CIE-LABlab(42.03, 58.05, -35.08)
CIE-LCHlch(42.03, 67.83, 328.85°)
OKLaboklab(52.51% 0.1636 -0.0968)
OKLCHoklch(52.51% 0.19 329.4)
XYZxyz(22.2555, 12.5193, 33.5854)
Luminance0.1252 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2339E #33A237
analogous
#6F33A2 #A2339E #A23367
triadic
#A2339E #9EA233 #339EA2
tetradic
#A2339E #A26F33 #33A237 #3367A2
square
#A2339E #A26F33 #33A237 #3367A2
split-complementary
#A2339E #67A233 #33A26F
monochromatic
#451643 #732471 #A2339E #C74CC2 #D57AD2

Accessibility & contrast

On white

5.99
#A2339E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#A2339E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2339E
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2339E#FFFFFF#000000##FFFFFF
##A2339E1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265AA1
Deuteranopia (green-blind)
#51689B
Tritanopia (blue-blind)
#A84164
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a2339e;
/* rgb */ color: rgb(162, 51, 158);
/* oklch */ color: oklch(52.5% 0.190 329.4);
Tailwind
colors: {
  custom: {
    50: '#c174bb',
    500: '#a2339e',
    950: '#000000',
  },
}
SCSS
$custom: #a2339e;
$custom-light: #c174bb;
$custom-dark: #000000;
JSON
{
  "hex": "#a2339e",
  "rgb": {
    "r": 162,
    "g": 51,
    "b": 158
  },
  "hsl": {
    "h": 302.162,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52511,
    "c": 0.19009,
    "h": 329.4
  },
  "luminance": 0.12518
}

Semantic roles & 50–950 ramp

primary
#A2339E
secondary
#73BE76
accent
#DC514C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #A2339E

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

Preview Lab → · Contrast checker → · Palette generator →

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