#A2259C#A2259C

#A2259C is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.2% C 0.204 H 330.2°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#A2259C
RGBrgb(162, 37, 156)
HSLhsl(303, 63%, 39%)
HSVhsv(303, 77%, 64%)
CMYKcmyk(0%, 77.2%, 3.7%, 36.5%)
CIE-LABlab(40.26, 62.46, -36.68)
CIE-LCHlch(40.26, 72.44, 329.57°)
OKLaboklab(51.2% 0.1771 -0.1013)
OKLCHoklch(51.2% 0.204 330.2)
XYZxyz(21.5625, 11.4065, 32.5121)
Luminance0.1140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2259C #25A22B
analogous
#6A25A2 #A2259C #A2255E
triadic
#A2259C #9CA225 #259CA2
tetradic
#A2259C #A26A25 #25A22B #255EA2
square
#A2259C #A26A25 #25A22B #255EA2
split-complementary
#A2259C #5EA225 #25A26A
monochromatic
#3E0E3C #701A6C #A2259C #D134C9 #DC65D6

Accessibility & contrast

On white

6.40
#A2259C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A2259C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2259C
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2259C#FFFFFF#000000##FFFFFF
##A2259C1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13549F
Deuteranopia (green-blind)
#4C6599
Tritanopia (blue-blind)
#A8375F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a2259c;
/* rgb */ color: rgb(162, 37, 156);
/* oklch */ color: oklch(51.2% 0.204 330.2);
Tailwind
colors: {
  custom: {
    50: '#c16eba',
    500: '#a2259c',
    950: '#000000',
  },
}
SCSS
$custom: #a2259c;
$custom-light: #c16eba;
$custom-dark: #000000;
JSON
{
  "hex": "#a2259c",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 302.88,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51204,
    "c": 0.20405,
    "h": 330.2
  },
  "luminance": 0.11405
}

Semantic roles & 50–950 ramp

primary
#A2259C
secondary
#61C266
accent
#E64A42
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A2259C

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

Preview Lab → · Contrast checker → · Palette generator →

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