#A12397#A12397

#A12397 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.6% C 0.202 H 331.7°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#A12397
RGBrgb(161, 35, 151)
HSLhsl(305, 64%, 38%)
HSVhsv(305, 78%, 63%)
CMYKcmyk(0%, 78.3%, 6.2%, 36.9%)
CIE-LABlab(39.61, 62.04, -34.70)
CIE-LCHlch(39.61, 71.08, 330.78°)
OKLaboklab(50.62% 0.1777 -0.0956)
OKLCHoklch(50.62% 0.202 331.7)
XYZxyz(20.8849, 11.0152, 30.2983)
Luminance0.1101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12397 #23A12D
analogous
#6C23A1 #A12397 #A12358
triadic
#A12397 #97A123 #2397A1
tetradic
#A12397 #A16C23 #23A12D #2358A1
square
#A12397 #A16C23 #23A12D #2358A1
split-complementary
#A12397 #58A123 #23A16C
monochromatic
#3C0D39 #6F1868 #A12397 #D22FC5 #DD62D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A12397#FFFFFF#000000##FFFFFF
##A123971.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)
#17529A
Deuteranopia (green-blind)
#4D6394
Tritanopia (blue-blind)
#A8335C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a12397;
/* rgb */ color: rgb(161, 35, 151);
/* oklch */ color: oklch(50.6% 0.202 331.7);
Tailwind
colors: {
  custom: {
    50: '#c16db6',
    500: '#a12397',
    950: '#000000',
  },
}
SCSS
$custom: #a12397;
$custom-light: #c16db6;
$custom-dark: #000000;
JSON
{
  "hex": "#a12397",
  "rgb": {
    "r": 161,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 304.762,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50617,
    "c": 0.20178,
    "h": 331.7
  },
  "luminance": 0.11013
}

Semantic roles & 50–950 ramp

primary
#A12397
secondary
#5EC266
accent
#E74E41
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12397

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

Preview Lab → · Contrast checker → · Palette generator →

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