#A2339B#A2339B

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

Color values

HEX#A2339B
RGBrgb(162, 51, 155)
HSLhsl(304, 52%, 42%)
HSVhsv(304, 69%, 64%)
CMYKcmyk(0%, 68.5%, 4.3%, 36.5%)
CIE-LABlab(41.87, 57.55, -33.53)
CIE-LCHlch(41.87, 66.60, 329.78°)
OKLaboklab(52.35% 0.1634 -0.0923)
OKLCHoklch(52.35% 0.188 330.5)
XYZxyz(22.0004, 12.4172, 32.2420)
Luminance0.1242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2339B #33A23A
analogous
#7233A2 #A2339B #A23364
triadic
#A2339B #9BA233 #339BA2
tetradic
#A2339B #A27233 #33A23A #3364A2
square
#A2339B #A27233 #33A23A #3364A2
split-complementary
#A2339B #64A233 #33A272
monochromatic
#451642 #73246E #A2339B #C74CBF #D57ACF

Accessibility & contrast

On white

6.03
#A2339B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A2339B
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2339B#FFFFFF#000000##FFFFFF
##A2339B1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A599E
Deuteranopia (green-blind)
#536898
Tritanopia (blue-blind)
#A84063
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a2339b;
/* rgb */ color: rgb(162, 51, 155);
/* oklch */ color: oklch(52.3% 0.188 330.5);
Tailwind
colors: {
  custom: {
    50: '#c174b9',
    500: '#a2339b',
    950: '#000000',
  },
}
SCSS
$custom: #a2339b;
$custom-light: #c174b9;
$custom-dark: #000000;
JSON
{
  "hex": "#a2339b",
  "rgb": {
    "r": 162,
    "g": 51,
    "b": 155
  },
  "hsl": {
    "h": 303.784,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52346,
    "c": 0.18769,
    "h": 330.5
  },
  "luminance": 0.12416
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A2339B

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

Preview Lab → · Contrast checker → · Palette generator →

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