#A2259F#A2259F

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

Color values

HEX#A2259F
RGBrgb(162, 37, 159)
HSLhsl(301, 63%, 39%)
HSVhsv(301, 77%, 64%)
CMYKcmyk(0%, 77.2%, 1.9%, 36.5%)
CIE-LABlab(40.43, 62.94, -38.22)
CIE-LCHlch(40.43, 73.64, 328.73°)
OKLaboklab(51.38% 0.1771 -0.1058)
OKLCHoklch(51.38% 0.206 329.1)
XYZxyz(21.8197, 11.5094, 33.8665)
Luminance0.1151 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2259F #25A228
analogous
#6725A2 #A2259F #A22561
triadic
#A2259F #9FA225 #259FA2
tetradic
#A2259F #A26725 #25A228 #2561A2
square
#A2259F #A26725 #25A228 #2561A2
split-complementary
#A2259F #61A225 #25A267
monochromatic
#3E0E3D #701A6E #A2259F #D134CD #DC65D9

Accessibility & contrast

On white

6.36
#A2259F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A2259F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2259F
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2259F#FFFFFF#000000##FFFFFF
##A2259F1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a2259f;
/* rgb */ color: rgb(162, 37, 159);
/* oklch */ color: oklch(51.4% 0.206 329.1);
Tailwind
colors: {
  custom: {
    50: '#c16fbc',
    500: '#a2259f',
    950: '#000000',
  },
}
SCSS
$custom: #a2259f;
$custom-light: #c16fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#a2259f",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 159
  },
  "hsl": {
    "h": 301.44,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51379,
    "c": 0.2063,
    "h": 329.1
  },
  "luminance": 0.11508
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A2259F

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

Preview Lab → · Contrast checker → · Palette generator →

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