#A2259E#A2259E

#A2259E is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.3% C 0.206 H 329.5°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#A2259E
RGBrgb(162, 37, 158)
HSLhsl(302, 63%, 39%)
HSVhsv(302, 77%, 64%)
CMYKcmyk(0%, 77.2%, 2.5%, 36.5%)
CIE-LABlab(40.37, 62.78, -37.71)
CIE-LCHlch(40.37, 73.24, 329.01°)
OKLaboklab(51.32% 0.1771 -0.1043)
OKLCHoklch(51.32% 0.206 329.5)
XYZxyz(21.7333, 11.4748, 33.4113)
Luminance0.1147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2259E #25A229
analogous
#6825A2 #A2259E #A22560
triadic
#A2259E #9EA225 #259EA2
tetradic
#A2259E #A26825 #25A229 #2560A2
square
#A2259E #A26825 #25A229 #2560A2
split-complementary
#A2259E #60A225 #25A268
monochromatic
#3E0E3D #701A6D #A2259E #D134CC #DC65D8

Accessibility & contrast

On white

6.37
#A2259E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A2259E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2259E
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2259E#FFFFFF#000000##FFFFFF
##A2259E1.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E55A1
Deuteranopia (green-blind)
#4B659B
Tritanopia (blue-blind)
#A83861
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a2259e;
/* rgb */ color: rgb(162, 37, 158);
/* oklch */ color: oklch(51.3% 0.206 329.5);
Tailwind
colors: {
  custom: {
    50: '#c16fbb',
    500: '#a2259e',
    950: '#000000',
  },
}
SCSS
$custom: #a2259e;
$custom-light: #c16fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#a2259e",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 158
  },
  "hsl": {
    "h": 301.92,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.5132,
    "c": 0.20554,
    "h": 329.5
  },
  "luminance": 0.11473
}

Semantic roles & 50–950 ramp

primary
#A2259E
secondary
#61C264
accent
#E64742
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A2259E

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

Preview Lab → · Contrast checker → · Palette generator →

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