#A2259D#A2259D

#A2259D is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.3% C 0.205 H 329.9°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#A2259D
RGBrgb(162, 37, 157)
HSLhsl(302, 63%, 39%)
HSVhsv(302, 77%, 64%)
CMYKcmyk(0%, 77.2%, 3.1%, 36.5%)
CIE-LABlab(40.31, 62.62, -37.20)
CIE-LCHlch(40.31, 72.83, 329.29°)
OKLaboklab(51.26% 0.1771 -0.1028)
OKLCHoklch(51.26% 0.205 329.9)
XYZxyz(21.6475, 11.4405, 32.9599)
Luminance0.1144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2259D #25A22A
analogous
#6925A2 #A2259D #A2255F
triadic
#A2259D #9DA225 #259DA2
tetradic
#A2259D #A26925 #25A22A #255FA2
square
#A2259D #A26925 #25A22A #255FA2
split-complementary
#A2259D #5FA225 #25A269
monochromatic
#3E0E3C #701A6D #A2259D #D134CA #DC65D7

Accessibility & contrast

On white

6.39
#A2259D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A2259D
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2259D#FFFFFF#000000##FFFFFF
##A2259D1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1154A0
Deuteranopia (green-blind)
#4C659A
Tritanopia (blue-blind)
#A83760
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a2259d;
/* rgb */ color: rgb(162, 37, 157);
/* oklch */ color: oklch(51.3% 0.205 329.9);
Tailwind
colors: {
  custom: {
    50: '#c16eba',
    500: '#a2259d',
    950: '#000000',
  },
}
SCSS
$custom: #a2259d;
$custom-light: #c16eba;
$custom-dark: #000000;
JSON
{
  "hex": "#a2259d",
  "rgb": {
    "r": 162,
    "g": 37,
    "b": 157
  },
  "hsl": {
    "h": 302.4,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.51262,
    "c": 0.2048,
    "h": 329.9
  },
  "luminance": 0.11439
}

Semantic roles & 50–950 ramp

primary
#A2259D
secondary
#61C265
accent
#E64842
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A2259D

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

Preview Lab → · Contrast checker → · Palette generator →

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