#A12995#A12995

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

Color values

HEX#A12995
RGBrgb(161, 41, 149)
HSLhsl(306, 59%, 40%)
HSVhsv(306, 75%, 63%)
CMYKcmyk(0%, 74.5%, 7.5%, 36.9%)
CIE-LABlab(40.14, 59.89, -32.65)
CIE-LCHlch(40.14, 68.21, 331.41°)
OKLaboklab(50.96% 0.1723 -0.0897)
OKLCHoklch(50.96% 0.194 332.5)
XYZxyz(20.9158, 11.3346, 29.5142)
Luminance0.1133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12995 #29A135
analogous
#7129A1 #A12995 #A12959
triadic
#A12995 #95A129 #2995A1
tetradic
#A12995 #A17129 #29A135 #2959A1
square
#A12995 #A17129 #29A135 #2959A1
split-complementary
#A12995 #59A129 #29A171
monochromatic
#3F103B #701D68 #A12995 #CD3ABE #D96BCE

Accessibility & contrast

On white

6.43
#A12995 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A12995 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12995
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12995#FFFFFF#000000##FFFFFF
##A129951.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225498
Deuteranopia (green-blind)
#516592
Tritanopia (blue-blind)
#A8365D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a12995;
/* rgb */ color: rgb(161, 41, 149);
/* oklch */ color: oklch(51.0% 0.194 332.5);
Tailwind
colors: {
  custom: {
    50: '#c070b4',
    500: '#a12995',
    950: '#000000',
  },
}
SCSS
$custom: #a12995;
$custom-light: #c070b4;
$custom-dark: #000000;
JSON
{
  "hex": "#a12995",
  "rgb": {
    "r": 161,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 306,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50964,
    "c": 0.19425,
    "h": 332.5
  },
  "luminance": 0.11333
}

Semantic roles & 50–950 ramp

primary
#A12995
secondary
#66C06F
accent
#E35545
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12995

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

Preview Lab → · Contrast checker → · Palette generator →

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