#A1239C#A1239C

#A1239C is a mid, highly saturated purple. Relative luminance 0.112; OKLCH L 50.9% C 0.205 H 329.9°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#A1239C
RGBrgb(161, 35, 156)
HSLhsl(302, 64%, 38%)
HSVhsv(302, 78%, 63%)
CMYKcmyk(0%, 78.3%, 3.1%, 36.9%)
CIE-LABlab(39.88, 62.82, -37.29)
CIE-LCHlch(39.88, 73.05, 329.31°)
OKLaboklab(50.91% 0.1777 -0.1031)
OKLCHoklch(50.91% 0.205 329.9)
XYZxyz(21.2996, 11.1811, 32.4824)
Luminance0.1118 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1239C #23A128
analogous
#6723A1 #A1239C #A1235D
triadic
#A1239C #9CA123 #239CA1
tetradic
#A1239C #A16723 #23A128 #235DA1
square
#A1239C #A16723 #23A128 #235DA1
split-complementary
#A1239C #5DA123 #23A167
monochromatic
#3C0D3B #6F186B #A1239C #D22FCB #DD62D8

Accessibility & contrast

On white

6.49
#A1239C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A1239C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1239C
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1239C#FFFFFF#000000##FFFFFF
##A1239C1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D539F
Deuteranopia (green-blind)
#4B6499
Tritanopia (blue-blind)
#A7365F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a1239c;
/* rgb */ color: rgb(161, 35, 156);
/* oklch */ color: oklch(50.9% 0.205 329.9);
Tailwind
colors: {
  custom: {
    50: '#c16eba',
    500: '#a1239c',
    950: '#000000',
  },
}
SCSS
$custom: #a1239c;
$custom-light: #c16eba;
$custom-dark: #000000;
JSON
{
  "hex": "#a1239c",
  "rgb": {
    "r": 161,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 302.381,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50905,
    "c": 0.20546,
    "h": 329.9
  },
  "luminance": 0.11179
}

Semantic roles & 50–950 ramp

primary
#A1239C
secondary
#5EC262
accent
#E74741
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A1239C

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

Preview Lab → · Contrast checker → · Palette generator →

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