#A12893#A12893

#A12893 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.8% C 0.194 H 333.3°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#A12893
RGBrgb(161, 40, 147)
HSLhsl(307, 60%, 39%)
HSVhsv(307, 75%, 63%)
CMYKcmyk(0%, 75.2%, 8.7%, 36.9%)
CIE-LABlab(39.92, 59.90, -31.77)
CIE-LCHlch(39.92, 67.81, 332.06°)
OKLaboklab(50.77% 0.1731 -0.0872)
OKLCHoklch(50.77% 0.194 333.3)
XYZxyz(20.7233, 11.2030, 28.6691)
Luminance0.1120 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12893 #28A136
analogous
#7328A1 #A12893 #A12857
triadic
#A12893 #93A128 #2893A1
tetradic
#A12893 #A17328 #28A136 #2857A1
square
#A12893 #A17328 #28A136 #2857A1
split-complementary
#A12893 #57A128 #28A173
monochromatic
#3F1039 #701C66 #A12893 #CE39BC #DA6ACD

Accessibility & contrast

On white

6.48
#A12893 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A12893 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12893
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12893#FFFFFF#000000##FFFFFF
##A128931.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235396
Deuteranopia (green-blind)
#516490
Tritanopia (blue-blind)
#A8345B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a12893;
/* rgb */ color: rgb(161, 40, 147);
/* oklch */ color: oklch(50.8% 0.194 333.3);
Tailwind
colors: {
  custom: {
    50: '#c06fb3',
    500: '#a12893',
    950: '#000000',
  },
}
SCSS
$custom: #a12893;
$custom-light: #c06fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#a12893",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 147
  },
  "hsl": {
    "h": 306.942,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50773,
    "c": 0.19385,
    "h": 333.3
  },
  "luminance": 0.11201
}

Semantic roles & 50–950 ramp

primary
#A12893
secondary
#65C06F
accent
#E35744
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12893

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

Preview Lab → · Contrast checker → · Palette generator →

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