#A12993#A12993

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

Color values

HEX#A12993
RGBrgb(161, 41, 147)
HSLhsl(307, 59%, 40%)
HSVhsv(307, 75%, 63%)
CMYKcmyk(0%, 74.5%, 8.7%, 36.9%)
CIE-LABlab(40.03, 59.58, -31.60)
CIE-LCHlch(40.03, 67.44, 332.06°)
OKLaboklab(50.85% 0.1722 -0.0867)
OKLCHoklch(50.85% 0.193 333.3)
XYZxyz(20.7575, 11.2713, 28.6804)
Luminance0.1127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12993 #29A137
analogous
#7329A1 #A12993 #A12957
triadic
#A12993 #93A129 #2993A1
tetradic
#A12993 #A17329 #29A137 #2957A1
square
#A12993 #A17329 #29A137 #2957A1
split-complementary
#A12993 #57A129 #29A173
monochromatic
#3F103A #701D66 #A12993 #CD3ABC #D96BCC

Accessibility & contrast

On white

6.45
#A12993 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A12993 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12993
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12993#FFFFFF#000000##FFFFFF
##A129931.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a12993;
/* rgb */ color: rgb(161, 41, 147);
/* oklch */ color: oklch(50.9% 0.193 333.3);
Tailwind
colors: {
  custom: {
    50: '#c06fb3',
    500: '#a12993',
    950: '#000000',
  },
}
SCSS
$custom: #a12993;
$custom-light: #c06fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#a12993",
  "rgb": {
    "r": 161,
    "g": 41,
    "b": 147
  },
  "hsl": {
    "h": 307,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50854,
    "c": 0.19277,
    "h": 333.3
  },
  "luminance": 0.1127
}

Semantic roles & 50–950 ramp

primary
#A12993
secondary
#66C070
accent
#E35845
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12993

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

Preview Lab → · Contrast checker → · Palette generator →

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