#A2239B#A2239B

#A2239B is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.0% C 0.205 H 330.6°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A2239B
RGBrgb(162, 35, 155)
HSLhsl(303, 64%, 39%)
HSVhsv(303, 78%, 64%)
CMYKcmyk(0%, 78.4%, 4.3%, 36.5%)
CIE-LABlab(40.00, 62.88, -36.48)
CIE-LCHlch(40.00, 72.70, 329.88°)
OKLaboklab(51% 0.1788 -0.1007)
OKLCHoklch(51% 0.205 330.6)
XYZxyz(21.4177, 11.2517, 32.0478)
Luminance0.1125 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2239B #23A22A
analogous
#6923A2 #A2239B #A2235B
triadic
#A2239B #9BA223 #239BA2
tetradic
#A2239B #A26923 #23A22A #235BA2
square
#A2239B #A26923 #23A22A #235BA2
split-complementary
#A2239B #5BA223 #23A269
monochromatic
#3D0D3B #70186B #A2239B #D230C9 #DD62D6

Accessibility & contrast

On white

6.46
#A2239B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A2239B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2239B
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2239B#FFFFFF#000000##FFFFFF
##A2239B1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11539E
Deuteranopia (green-blind)
#4C6498
Tritanopia (blue-blind)
#A8355E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a2239b;
/* rgb */ color: rgb(162, 35, 155);
/* oklch */ color: oklch(51.0% 0.205 330.6);
Tailwind
colors: {
  custom: {
    50: '#c16eb9',
    500: '#a2239b',
    950: '#000000',
  },
}
SCSS
$custom: #a2239b;
$custom-light: #c16eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#a2239b",
  "rgb": {
    "r": 162,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 303.307,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.51003,
    "c": 0.2052,
    "h": 330.6
  },
  "luminance": 0.1125
}

Semantic roles & 50–950 ramp

primary
#A2239B
secondary
#5EC264
accent
#E74A40
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A2239B

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

Preview Lab → · Contrast checker → · Palette generator →

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