#A12297#A12297

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

Color values

HEX#A12297
RGBrgb(161, 34, 151)
HSLhsl(305, 65%, 38%)
HSVhsv(305, 79%, 63%)
CMYKcmyk(0%, 78.9%, 6.2%, 36.9%)
CIE-LABlab(39.51, 62.32, -34.85)
CIE-LCHlch(39.51, 71.40, 330.78°)
OKLaboklab(50.55% 0.1785 -0.096)
OKLCHoklch(50.55% 0.203 331.7)
XYZxyz(20.8559, 10.9572, 30.2887)
Luminance0.1095 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12297 #22A12C
analogous
#6B22A1 #A12297 #A12258
triadic
#A12297 #97A122 #2297A1
tetradic
#A12297 #A16B22 #22A12C #2258A1
square
#A12297 #A16B22 #22A12C #2258A1
split-complementary
#A12297 #58A122 #22A16B
monochromatic
#3C0D38 #6E1768 #A12297 #D32DC6 #DD60D4

Accessibility & contrast

On white

6.58
#A12297 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A12297 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12297
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12297#FFFFFF#000000##FFFFFF
##A122971.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15529A
Deuteranopia (green-blind)
#4D6394
Tritanopia (blue-blind)
#A8335C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a12297;
/* rgb */ color: rgb(161, 34, 151);
/* oklch */ color: oklch(50.5% 0.203 331.7);
Tailwind
colors: {
  custom: {
    50: '#c16db6',
    500: '#a12297',
    950: '#000000',
  },
}
SCSS
$custom: #a12297;
$custom-light: #c16db6;
$custom-dark: #000000;
JSON
{
  "hex": "#a12297",
  "rgb": {
    "r": 161,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 304.724,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50547,
    "c": 0.20271,
    "h": 331.7
  },
  "luminance": 0.10955
}

Semantic roles & 50–950 ramp

primary
#A12297
secondary
#5DC265
accent
#E84D40
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12297

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

Preview Lab → · Contrast checker → · Palette generator →

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