#A12892#A12892

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

Color values

HEX#A12892
RGBrgb(161, 40, 146)
HSLhsl(307, 60%, 39%)
HSVhsv(307, 75%, 63%)
CMYKcmyk(0%, 75.2%, 9.3%, 36.9%)
CIE-LABlab(39.87, 59.75, -31.25)
CIE-LCHlch(39.87, 67.43, 332.39°)
OKLaboklab(50.72% 0.1731 -0.0857)
OKLCHoklch(50.72% 0.193 333.7)
XYZxyz(20.6452, 11.1718, 28.2576)
Luminance0.1117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12892 #28A137
analogous
#7428A1 #A12892 #A12856
triadic
#A12892 #92A128 #2892A1
tetradic
#A12892 #A17428 #28A137 #2856A1
square
#A12892 #A17428 #28A137 #2856A1
split-complementary
#A12892 #56A128 #28A174
monochromatic
#3F1039 #701C66 #A12892 #CE39BB #DA6ACC

Accessibility & contrast

On white

6.49
#A12892 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A12892
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12892#FFFFFF#000000##FFFFFF
##A128921.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245395
Deuteranopia (green-blind)
#52648F
Tritanopia (blue-blind)
#A9345B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a12892;
/* rgb */ color: rgb(161, 40, 146);
/* oklch */ color: oklch(50.7% 0.193 333.7);
Tailwind
colors: {
  custom: {
    50: '#c06fb2',
    500: '#a12892',
    950: '#000000',
  },
}
SCSS
$custom: #a12892;
$custom-light: #c06fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#a12892",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 146
  },
  "hsl": {
    "h": 307.438,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50719,
    "c": 0.19312,
    "h": 333.7
  },
  "luminance": 0.1117
}

Semantic roles & 50–950 ramp

primary
#A12892
secondary
#65C070
accent
#E35844
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12892

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

Preview Lab → · Contrast checker → · Palette generator →

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