#A12792#A12792

#A12792 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.6% C 0.194 H 333.7°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A12792
RGBrgb(161, 39, 146)
HSLhsl(307, 61%, 39%)
HSVhsv(307, 76%, 63%)
CMYKcmyk(0%, 75.8%, 9.3%, 36.9%)
CIE-LABlab(39.76, 60.07, -31.42)
CIE-LCHlch(39.76, 67.79, 332.38°)
OKLaboklab(50.64% 0.174 -0.0862)
OKLCHoklch(50.64% 0.194 333.7)
XYZxyz(20.6119, 11.1052, 28.2465)
Luminance0.1110 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12792 #27A136
analogous
#7327A1 #A12792 #A12755
triadic
#A12792 #92A127 #2792A1
tetradic
#A12792 #A17327 #27A136 #2755A1
square
#A12792 #A17327 #27A136 #2755A1
split-complementary
#A12792 #55A127 #27A173
monochromatic
#3E0F39 #701B65 #A12792 #CE37BC #DA68CC

Accessibility & contrast

On white

6.52
#A12792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A12792 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12792
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12792#FFFFFF#000000##FFFFFF
##A127921.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235295
Deuteranopia (green-blind)
#51648F
Tritanopia (blue-blind)
#A9335A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a12792;
/* rgb */ color: rgb(161, 39, 146);
/* oklch */ color: oklch(50.6% 0.194 333.7);
Tailwind
colors: {
  custom: {
    50: '#c06fb2',
    500: '#a12792',
    950: '#000000',
  },
}
SCSS
$custom: #a12792;
$custom-light: #c06fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#a12792",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 146
  },
  "hsl": {
    "h": 307.377,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50639,
    "c": 0.19417,
    "h": 333.7
  },
  "luminance": 0.11103
}

Semantic roles & 50–950 ramp

primary
#A12792
secondary
#63C06F
accent
#E45744
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12792

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

Preview Lab → · Contrast checker → · Palette generator →

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