#A1258D#A1258D

#A1258D is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.2% C 0.193 H 335.6°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#A1258D
RGBrgb(161, 37, 141)
HSLhsl(310, 63%, 39%)
HSVhsv(310, 77%, 63%)
CMYKcmyk(0%, 77%, 12.4%, 36.9%)
CIE-LABlab(39.28, 59.93, -29.11)
CIE-LCHlch(39.28, 66.63, 334.09°)
OKLaboklab(50.22% 0.1755 -0.0795)
OKLCHoklch(50.22% 0.193 335.6)
XYZxyz(20.1675, 10.8251, 26.2215)
Luminance0.1082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1258D #25A139
analogous
#7725A1 #A1258D #A1254F
triadic
#A1258D #8DA125 #258DA1
tetradic
#A1258D #A17725 #25A139 #254FA1
square
#A1258D #A17725 #25A139 #254FA1
split-complementary
#A1258D #4FA125 #25A177
monochromatic
#3D0E36 #6F1A61 #A1258D #D033B7 #DC65C8

Accessibility & contrast

On white

6.64
#A1258D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#A1258D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1258D
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1258D#FFFFFF#000000##FFFFFF
##A1258D1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265190
Deuteranopia (green-blind)
#53638A
Tritanopia (blue-blind)
#A92F57
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a1258d;
/* rgb */ color: rgb(161, 37, 141);
/* oklch */ color: oklch(50.2% 0.193 335.6);
Tailwind
colors: {
  custom: {
    50: '#c16eae',
    500: '#a1258d',
    950: '#000000',
  },
}
SCSS
$custom: #a1258d;
$custom-light: #c16eae;
$custom-dark: #000000;
JSON
{
  "hex": "#a1258d",
  "rgb": {
    "r": 161,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 309.677,
    "s": 62.626,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50216,
    "c": 0.19266,
    "h": 335.6
  },
  "luminance": 0.10823
}

Semantic roles & 50–950 ramp

primary
#A1258D
secondary
#61C170
accent
#E65C42
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A1258D

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

Preview Lab → · Contrast checker → · Palette generator →

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