#A22790#A22790

#A22790 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.7% C 0.193 H 334.8°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#A22790
RGBrgb(162, 39, 144)
HSLhsl(309, 61%, 39%)
HSVhsv(309, 76%, 64%)
CMYKcmyk(0%, 75.9%, 11.1%, 36.5%)
CIE-LABlab(39.83, 59.99, -30.08)
CIE-LCHlch(39.83, 67.11, 333.37°)
OKLaboklab(50.69% 0.1749 -0.0823)
OKLCHoklch(50.69% 0.193 334.8)
XYZxyz(20.6601, 11.1479, 27.4438)
Luminance0.1115 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22790 #27A239
analogous
#7627A2 #A22790 #A22753
triadic
#A22790 #90A227 #2790A2
tetradic
#A22790 #A27627 #27A239 #2753A2
square
#A22790 #A27627 #27A239 #2753A2
split-complementary
#A22790 #53A227 #27A276
monochromatic
#3F0F38 #711B64 #A22790 #CF37B9 #DB69CA

Accessibility & contrast

On white

6.50
#A22790 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A22790 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22790
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22790#FFFFFF#000000##FFFFFF
##A227901.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265293
Deuteranopia (green-blind)
#53648D
Tritanopia (blue-blind)
#AA3259
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a22790;
/* rgb */ color: rgb(162, 39, 144);
/* oklch */ color: oklch(50.7% 0.193 334.8);
Tailwind
colors: {
  custom: {
    50: '#c16fb1',
    500: '#a22790',
    950: '#000000',
  },
}
SCSS
$custom: #a22790;
$custom-light: #c16fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#a22790",
  "rgb": {
    "r": 162,
    "g": 39,
    "b": 144
  },
  "hsl": {
    "h": 308.78,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.5069,
    "c": 0.19328,
    "h": 334.8
  },
  "luminance": 0.11146
}

Semantic roles & 50–950 ramp

primary
#A22790
secondary
#64C171
accent
#E45B43
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A22790

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

Preview Lab → · Contrast checker → · Palette generator →

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