#A12498#A12498

#A12498 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.7% C 0.202 H 331.3°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A12498
RGBrgb(161, 36, 152)
HSLhsl(304, 63%, 39%)
HSVhsv(304, 78%, 63%)
CMYKcmyk(0%, 77.6%, 5.6%, 36.9%)
CIE-LABlab(39.76, 61.90, -35.06)
CIE-LCHlch(39.76, 71.14, 330.47°)
OKLaboklab(50.75% 0.1769 -0.0966)
OKLCHoklch(50.75% 0.202 331.3)
XYZxyz(20.9963, 11.1075, 30.7378)
Luminance0.1111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12498 #24A12D
analogous
#6B24A1 #A12498 #A12459
triadic
#A12498 #98A124 #2498A1
tetradic
#A12498 #A16B24 #24A12D #2459A1
square
#A12498 #A16B24 #24A12D #2459A1
split-complementary
#A12498 #59A124 #24A16B
monochromatic
#3D0E3A #6F1969 #A12498 #D131C5 #DC63D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A12498#FFFFFF#000000##FFFFFF
##A124981.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)
#17539B
Deuteranopia (green-blind)
#4D6495
Tritanopia (blue-blind)
#A8345D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a12498;
/* rgb */ color: rgb(161, 36, 152);
/* oklch */ color: oklch(50.7% 0.202 331.3);
Tailwind
colors: {
  custom: {
    50: '#c16eb7',
    500: '#a12498',
    950: '#000000',
  },
}
SCSS
$custom: #a12498;
$custom-light: #c16eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a12498",
  "rgb": {
    "r": 161,
    "g": 36,
    "b": 152
  },
  "hsl": {
    "h": 304.32,
    "s": 63.452,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50745,
    "c": 0.20156,
    "h": 331.3
  },
  "luminance": 0.11106
}

Semantic roles & 50–950 ramp

primary
#A12498
secondary
#5FC266
accent
#E64D41
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12498

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

Preview Lab → · Contrast checker → · Palette generator →

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