#A22893#A22893

#A22893 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.9% C 0.194 H 333.6°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#A22893
RGBrgb(162, 40, 147)
HSLhsl(307, 60%, 40%)
HSVhsv(307, 75%, 64%)
CMYKcmyk(0%, 75.3%, 9.3%, 36.5%)
CIE-LABlab(40.09, 60.13, -31.49)
CIE-LCHlch(40.09, 67.88, 332.36°)
OKLaboklab(50.93% 0.1742 -0.0863)
OKLCHoklch(50.93% 0.194 333.6)
XYZxyz(20.9257, 11.3074, 28.6785)
Luminance0.1131 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22893 #28A237
analogous
#7428A2 #A22893 #A22856
triadic
#A22893 #93A228 #2893A2
tetradic
#A22893 #A27428 #28A237 #2856A2
square
#A22893 #A27428 #28A237 #2856A2
split-complementary
#A22893 #56A228 #28A274
monochromatic
#40103A #711C66 #A22893 #CE39BC #DA6ACC

Accessibility & contrast

On white

6.44
#A22893 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A22893 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22893
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22893#FFFFFF#000000##FFFFFF
##A228931.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245396
Deuteranopia (green-blind)
#526590
Tritanopia (blue-blind)
#AA345B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a22893;
/* rgb */ color: rgb(162, 40, 147);
/* oklch */ color: oklch(50.9% 0.194 333.6);
Tailwind
colors: {
  custom: {
    50: '#c16fb3',
    500: '#a22893',
    950: '#000000',
  },
}
SCSS
$custom: #a22893;
$custom-light: #c16fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#a22893",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 147
  },
  "hsl": {
    "h": 307.377,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.5093,
    "c": 0.19439,
    "h": 333.6
  },
  "luminance": 0.11306
}

Semantic roles & 50–950 ramp

primary
#A22893
secondary
#65C170
accent
#E45844
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A22893

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

Preview Lab → · Contrast checker → · Palette generator →

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