#A2259A#A2259A

#A2259A is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.1% C 0.203 H 331.0°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#A2259A
RGBrgb(162, 37, 154)
HSLhsl(304, 63%, 39%)
HSVhsv(304, 77%, 64%)
CMYKcmyk(0%, 77.2%, 4.9%, 36.5%)
CIE-LABlab(40.15, 62.14, -35.65)
CIE-LCHlch(40.15, 71.64, 330.16°)
OKLaboklab(51.09% 0.1771 -0.0983)
OKLCHoklch(51.09% 0.203 331)
XYZxyz(21.3946, 11.3393, 31.6275)
Luminance0.1134 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2259A #25A22D
analogous
#6C25A2 #A2259A #A2255C
triadic
#A2259A #9AA225 #259AA2
tetradic
#A2259A #A26C25 #25A22D #255CA2
square
#A2259A #A26C25 #25A22D #255CA2
split-complementary
#A2259A #5CA225 #25A26C
monochromatic
#3E0E3B #701A6B #A2259A #D134C7 #DC65D4

Accessibility & contrast

On white

6.43
#A2259A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A2259A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2259A
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2259A#FFFFFF#000000##FFFFFF
##A2259A1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17549D
Deuteranopia (green-blind)
#4D6597
Tritanopia (blue-blind)
#A9365E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a2259a;
/* rgb */ color: rgb(162, 37, 154);
/* oklch */ color: oklch(51.1% 0.203 331.0);
Tailwind
colors: {
  custom: {
    50: '#c16eb8',
    500: '#a2259a',
    950: '#000000',
  },
}
SCSS
$custom: #a2259a;
$custom-light: #c16eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#a2259a",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 154
  },
  "hsl": {
    "h": 303.84,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51089,
    "c": 0.20257,
    "h": 331
  },
  "luminance": 0.11338
}

Semantic roles & 50–950 ramp

primary
#A2259A
secondary
#61C267
accent
#E64C42
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A2259A

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

Preview Lab → · Contrast checker → · Palette generator →

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