#A2339D#A2339D

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

Color values

HEX#A2339D
RGBrgb(162, 51, 157)
HSLhsl(303, 52%, 42%)
HSVhsv(303, 69%, 64%)
CMYKcmyk(0%, 68.5%, 3.1%, 36.5%)
CIE-LABlab(41.98, 57.88, -34.56)
CIE-LCHlch(41.98, 67.42, 329.16°)
OKLaboklab(52.46% 0.1636 -0.0953)
OKLCHoklch(52.46% 0.189 329.8)
XYZxyz(22.1698, 12.4850, 33.1339)
Luminance0.1248 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2339D #33A238
analogous
#7033A2 #A2339D #A23366
triadic
#A2339D #9DA233 #339DA2
tetradic
#A2339D #A27033 #33A238 #3366A2
square
#A2339D #A27033 #33A238 #3366A2
split-complementary
#A2339D #66A233 #33A270
monochromatic
#451643 #732470 #A2339D #C74CC1 #D57AD1

Accessibility & contrast

On white

6.01
#A2339D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A2339D
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2339D#FFFFFF#000000##FFFFFF
##A2339D1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2859A0
Deuteranopia (green-blind)
#52689A
Tritanopia (blue-blind)
#A84164
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a2339d;
/* rgb */ color: rgb(162, 51, 157);
/* oklch */ color: oklch(52.5% 0.189 329.8);
Tailwind
colors: {
  custom: {
    50: '#c174ba',
    500: '#a2339d',
    950: '#000000',
  },
}
SCSS
$custom: #a2339d;
$custom-light: #c174ba;
$custom-dark: #000000;
JSON
{
  "hex": "#a2339d",
  "rgb": {
    "r": 162,
    "g": 51,
    "b": 157
  },
  "hsl": {
    "h": 302.703,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52456,
    "c": 0.18929,
    "h": 329.8
  },
  "luminance": 0.12483
}

Semantic roles & 50–950 ramp

primary
#A2339D
secondary
#73BE76
accent
#DC534C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A2339D

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

Preview Lab → · Contrast checker → · Palette generator →

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