#A12398#A12398

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

Color values

HEX#A12398
RGBrgb(161, 35, 152)
HSLhsl(304, 64%, 38%)
HSVhsv(304, 78%, 63%)
CMYKcmyk(0%, 78.3%, 5.6%, 36.9%)
CIE-LABlab(39.66, 62.19, -35.22)
CIE-LCHlch(39.66, 71.47, 330.48°)
OKLaboklab(50.67% 0.1777 -0.0971)
OKLCHoklch(50.67% 0.203 331.3)
XYZxyz(20.9665, 11.0479, 30.7279)
Luminance0.1105 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12398 #23A12C
analogous
#6B23A1 #A12398 #A12359
triadic
#A12398 #98A123 #2398A1
tetradic
#A12398 #A16B23 #23A12C #2359A1
square
#A12398 #A16B23 #23A12C #2359A1
split-complementary
#A12398 #59A123 #23A16B
monochromatic
#3C0D39 #6F1869 #A12398 #D22FC6 #DD62D4

Accessibility & contrast

On white

6.54
#A12398 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#A12398 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12398
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12398#FFFFFF#000000##FFFFFF
##A123981.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15529B
Deuteranopia (green-blind)
#4D6395
Tritanopia (blue-blind)
#A8345D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a12398;
/* rgb */ color: rgb(161, 35, 152);
/* oklch */ color: oklch(50.7% 0.203 331.3);
Tailwind
colors: {
  custom: {
    50: '#c16db7',
    500: '#a12398',
    950: '#000000',
  },
}
SCSS
$custom: #a12398;
$custom-light: #c16db7;
$custom-dark: #000000;
JSON
{
  "hex": "#a12398",
  "rgb": {
    "r": 161,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 304.286,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50674,
    "c": 0.20252,
    "h": 331.3
  },
  "luminance": 0.11046
}

Semantic roles & 50–950 ramp

primary
#A12398
secondary
#5EC265
accent
#E74C41
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12398

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

Preview Lab → · Contrast checker → · Palette generator →

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