#A12298#A12298

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

Color values

HEX#A12298
RGBrgb(161, 34, 152)
HSLhsl(304, 65%, 38%)
HSVhsv(304, 79%, 63%)
CMYKcmyk(0%, 78.9%, 5.6%, 36.9%)
CIE-LABlab(39.56, 62.47, -35.37)
CIE-LCHlch(39.56, 71.79, 330.48°)
OKLaboklab(50.6% 0.1785 -0.0975)
OKLCHoklch(50.6% 0.203 331.3)
XYZxyz(20.9375, 10.9899, 30.7182)
Luminance0.1099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12298 #22A12B
analogous
#6A22A1 #A12298 #A12258
triadic
#A12298 #98A122 #2298A1
tetradic
#A12298 #A16A22 #22A12B #2258A1
square
#A12298 #A16A22 #22A12B #2258A1
split-complementary
#A12298 #58A122 #22A16A
monochromatic
#3C0D39 #6E1768 #A12298 #D32DC7 #DD60D5

Accessibility & contrast

On white

6.57
#A12298 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A12298
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12298#FFFFFF#000000##FFFFFF
##A122981.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14529B
Deuteranopia (green-blind)
#4C6395
Tritanopia (blue-blind)
#A8335C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a12298;
/* rgb */ color: rgb(161, 34, 152);
/* oklch */ color: oklch(50.6% 0.203 331.3);
Tailwind
colors: {
  custom: {
    50: '#c16db7',
    500: '#a12298',
    950: '#000000',
  },
}
SCSS
$custom: #a12298;
$custom-light: #c16db7;
$custom-dark: #000000;
JSON
{
  "hex": "#a12298",
  "rgb": {
    "r": 161,
    "g": 34,
    "b": 152
  },
  "hsl": {
    "h": 304.252,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.50604,
    "c": 0.20344,
    "h": 331.3
  },
  "luminance": 0.10988
}

Semantic roles & 50–950 ramp

primary
#A12298
secondary
#5DC264
accent
#E84C40
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12298

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

Preview Lab → · Contrast checker → · Palette generator →

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