#A1258E#A1258E

#A1258E is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.3% C 0.193 H 335.2°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#A1258E
RGBrgb(161, 37, 142)
HSLhsl(309, 63%, 39%)
HSVhsv(309, 77%, 63%)
CMYKcmyk(0%, 77%, 11.8%, 36.9%)
CIE-LABlab(39.34, 60.08, -29.65)
CIE-LCHlch(39.34, 66.99, 333.74°)
OKLaboklab(50.27% 0.1756 -0.081)
OKLCHoklch(50.27% 0.193 335.2)
XYZxyz(20.2423, 10.8550, 26.6151)
Luminance0.1085 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1258E #25A138
analogous
#7625A1 #A1258E #A12550
triadic
#A1258E #8EA125 #258EA1
tetradic
#A1258E #A17625 #25A138 #2550A1
square
#A1258E #A17625 #25A138 #2550A1
split-complementary
#A1258E #50A125 #25A176
monochromatic
#3D0E36 #6F1A62 #A1258E #D033B8 #DC65C9

Accessibility & contrast

On white

6.62
#A1258E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A1258E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A1258E
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1258E#FFFFFF#000000##FFFFFF
##A1258E1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255191
Deuteranopia (green-blind)
#52638B
Tritanopia (blue-blind)
#A93058
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a1258e;
/* rgb */ color: rgb(161, 37, 142);
/* oklch */ color: oklch(50.3% 0.193 335.2);
Tailwind
colors: {
  custom: {
    50: '#c16eaf',
    500: '#a1258e',
    950: '#000000',
  },
}
SCSS
$custom: #a1258e;
$custom-light: #c16eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#a1258e",
  "rgb": {
    "r": 161,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 309.194,
    "s": 62.626,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50269,
    "c": 0.19337,
    "h": 335.2
  },
  "luminance": 0.10853
}

Semantic roles & 50–950 ramp

primary
#A1258E
secondary
#61C16F
accent
#E65B42
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A1258E

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

Preview Lab → · Contrast checker → · Palette generator →

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