#A1239A#A1239A

#A1239A is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.8% C 0.204 H 330.6°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A1239A
RGBrgb(161, 35, 154)
HSLhsl(303, 64%, 38%)
HSVhsv(303, 78%, 63%)
CMYKcmyk(0%, 78.3%, 4.3%, 36.9%)
CIE-LABlab(39.77, 62.51, -36.25)
CIE-LCHlch(39.77, 72.26, 329.89°)
OKLaboklab(50.79% 0.1777 -0.1001)
OKLCHoklch(50.79% 0.204 330.6)
XYZxyz(21.1317, 11.1139, 31.5978)
Luminance0.1111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1239A #23A12A
analogous
#6923A1 #A1239A #A1235B
triadic
#A1239A #9AA123 #239AA1
tetradic
#A1239A #A16923 #23A12A #235BA1
square
#A1239A #A16923 #23A12A #235BA1
split-complementary
#A1239A #5BA123 #23A169
monochromatic
#3C0D3A #6F186A #A1239A #D22FC9 #DD62D6

Accessibility & contrast

On white

6.52
#A1239A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A1239A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1239A
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1239A#FFFFFF#000000##FFFFFF
##A1239A1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11539D
Deuteranopia (green-blind)
#4C6497
Tritanopia (blue-blind)
#A7355E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a1239a;
/* rgb */ color: rgb(161, 35, 154);
/* oklch */ color: oklch(50.8% 0.204 330.6);
Tailwind
colors: {
  custom: {
    50: '#c16db8',
    500: '#a1239a',
    950: '#000000',
  },
}
SCSS
$custom: #a1239a;
$custom-light: #c16db8;
$custom-dark: #000000;
JSON
{
  "hex": "#a1239a",
  "rgb": {
    "r": 161,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 303.333,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50789,
    "c": 0.20398,
    "h": 330.6
  },
  "luminance": 0.11112
}

Semantic roles & 50–950 ramp

primary
#A1239A
secondary
#5EC263
accent
#E74A41
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A1239A

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

Preview Lab → · Contrast checker → · Palette generator →

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