#A2259B#A2259B

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

Color values

HEX#A2259B
RGBrgb(162, 37, 155)
HSLhsl(303, 63%, 39%)
HSVhsv(303, 77%, 64%)
CMYKcmyk(0%, 77.2%, 4.3%, 36.5%)
CIE-LABlab(40.20, 62.30, -36.17)
CIE-LCHlch(40.20, 72.04, 329.86°)
OKLaboklab(51.15% 0.1771 -0.0998)
OKLCHoklch(51.15% 0.203 330.6)
XYZxyz(21.4782, 11.3728, 32.0679)
Luminance0.1137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2259B #25A22C
analogous
#6B25A2 #A2259B #A2255D
triadic
#A2259B #9BA225 #259BA2
tetradic
#A2259B #A26B25 #25A22C #255DA2
square
#A2259B #A26B25 #25A22C #255DA2
split-complementary
#A2259B #5DA225 #25A26B
monochromatic
#3E0E3C #701A6B #A2259B #D134C8 #DC65D5

Accessibility & contrast

On white

6.41
#A2259B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A2259B
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2259B#FFFFFF#000000##FFFFFF
##A2259B1.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15549E
Deuteranopia (green-blind)
#4D6598
Tritanopia (blue-blind)
#A8365F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a2259b;
/* rgb */ color: rgb(162, 37, 155);
/* oklch */ color: oklch(51.1% 0.203 330.6);
Tailwind
colors: {
  custom: {
    50: '#c16eb9',
    500: '#a2259b',
    950: '#000000',
  },
}
SCSS
$custom: #a2259b;
$custom-light: #c16eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#a2259b",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 155
  },
  "hsl": {
    "h": 303.36,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51146,
    "c": 0.20331,
    "h": 330.6
  },
  "luminance": 0.11371
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A2259B

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

Preview Lab → · Contrast checker → · Palette generator →

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