#A12698#A12698

#A12698 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.9% C 0.200 H 331.3°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#A12698
RGBrgb(161, 38, 152)
HSLhsl(304, 62%, 39%)
HSVhsv(304, 76%, 63%)
CMYKcmyk(0%, 76.4%, 5.6%, 36.9%)
CIE-LABlab(39.97, 61.31, -34.73)
CIE-LCHlch(39.97, 70.46, 330.47°)
OKLaboklab(50.89% 0.1752 -0.0957)
OKLCHoklch(50.89% 0.2 331.3)
XYZxyz(21.0586, 11.2320, 30.7586)
Luminance0.1123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12698 #26A12F
analogous
#6D26A1 #A12698 #A1265B
triadic
#A12698 #98A126 #2698A1
tetradic
#A12698 #A16D26 #26A12F #265BA1
square
#A12698 #A16D26 #26A12F #265BA1
split-complementary
#A12698 #5BA126 #26A16D
monochromatic
#3E0F3B #6F1A69 #A12698 #CF35C4 #DB66D2

Accessibility & contrast

On white

6.47
#A12698 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A12698 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12698
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12698#FFFFFF#000000##FFFFFF
##A126981.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A539B
Deuteranopia (green-blind)
#4E6495
Tritanopia (blue-blind)
#A8365D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a12698;
/* rgb */ color: rgb(161, 38, 152);
/* oklch */ color: oklch(50.9% 0.200 331.3);
Tailwind
colors: {
  custom: {
    50: '#c16eb7',
    500: '#a12698',
    950: '#000000',
  },
}
SCSS
$custom: #a12698;
$custom-light: #c16eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a12698",
  "rgb": {
    "r": 161,
    "g": 38,
    "b": 152
  },
  "hsl": {
    "h": 304.39,
    "s": 61.809,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50894,
    "c": 0.19959,
    "h": 331.3
  },
  "luminance": 0.1123
}

Semantic roles & 50–950 ramp

primary
#A12698
secondary
#62C169
accent
#E54F43
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12698

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

Preview Lab → · Contrast checker → · Palette generator →

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