#A12598#A12598

#A12598 is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.8% C 0.201 H 331.3°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#A12598
RGBrgb(161, 37, 152)
HSLhsl(304, 63%, 39%)
HSVhsv(304, 77%, 63%)
CMYKcmyk(0%, 77%, 5.6%, 36.9%)
CIE-LABlab(39.86, 61.61, -34.90)
CIE-LCHlch(39.86, 70.81, 330.47°)
OKLaboklab(50.82% 0.176 -0.0962)
OKLCHoklch(50.82% 0.201 331.3)
XYZxyz(21.0270, 11.1689, 30.7480)
Luminance0.1117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12598 #25A12E
analogous
#6C25A1 #A12598 #A1255A
triadic
#A12598 #98A125 #2598A1
tetradic
#A12598 #A16C25 #25A12E #255AA1
square
#A12598 #A16C25 #25A12E #255AA1
split-complementary
#A12598 #5AA125 #25A16C
monochromatic
#3D0E3A #6F1A69 #A12598 #D033C5 #DC65D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A12598#FFFFFF#000000##FFFFFF
##A125981.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)
#18539B
Deuteranopia (green-blind)
#4E6495
Tritanopia (blue-blind)
#A8355D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a12598;
/* rgb */ color: rgb(161, 37, 152);
/* oklch */ color: oklch(50.8% 0.201 331.3);
Tailwind
colors: {
  custom: {
    50: '#c16eb7',
    500: '#a12598',
    950: '#000000',
  },
}
SCSS
$custom: #a12598;
$custom-light: #c16eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a12598",
  "rgb": {
    "r": 161,
    "g": 37,
    "b": 152
  },
  "hsl": {
    "h": 304.355,
    "s": 62.626,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50819,
    "c": 0.20059,
    "h": 331.3
  },
  "luminance": 0.11167
}

Semantic roles & 50–950 ramp

primary
#A12598
secondary
#61C168
accent
#E64E42
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12598

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

Preview Lab → · Contrast checker → · Palette generator →

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