#A12495#A12495

#A12495 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.6% C 0.199 H 332.5°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#A12495
RGBrgb(161, 36, 149)
HSLhsl(306, 63%, 39%)
HSVhsv(306, 78%, 63%)
CMYKcmyk(0%, 77.6%, 7.5%, 36.9%)
CIE-LABlab(39.60, 61.44, -33.50)
CIE-LCHlch(39.60, 69.98, 331.40°)
OKLaboklab(50.58% 0.1768 -0.0921)
OKLCHoklch(50.58% 0.199 332.5)
XYZxyz(20.7537, 11.0105, 29.4601)
Luminance0.1101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12495 #24A130
analogous
#6E24A1 #A12495 #A12456
triadic
#A12495 #95A124 #2495A1
tetradic
#A12495 #A16E24 #24A130 #2456A1
square
#A12495 #A16E24 #24A130 #2456A1
split-complementary
#A12495 #56A124 #24A16E
monochromatic
#3D0E38 #6F1967 #A12495 #D131C2 #DC63D1

Accessibility & contrast

On white

6.56
#A12495 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#A12495 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12495
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12495#FFFFFF#000000##FFFFFF
##A124951.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5298
Deuteranopia (green-blind)
#4F6392
Tritanopia (blue-blind)
#A8335B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a12495;
/* rgb */ color: rgb(161, 36, 149);
/* oklch */ color: oklch(50.6% 0.199 332.5);
Tailwind
colors: {
  custom: {
    50: '#c16eb4',
    500: '#a12495',
    950: '#000000',
  },
}
SCSS
$custom: #a12495;
$custom-light: #c16eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#a12495",
  "rgb": {
    "r": 161,
    "g": 36,
    "b": 149
  },
  "hsl": {
    "h": 305.76,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50576,
    "c": 0.19937,
    "h": 332.5
  },
  "luminance": 0.11009
}

Semantic roles & 50–950 ramp

primary
#A12495
secondary
#5FC269
accent
#E65141
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12495

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

Preview Lab → · Contrast checker → · Palette generator →

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