#A12899#A12899

#A12899 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.1% C 0.198 H 331.0°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#A12899
RGBrgb(161, 40, 153)
HSLhsl(304, 60%, 39%)
HSVhsv(304, 75%, 63%)
CMYKcmyk(0%, 75.2%, 5%, 36.9%)
CIE-LABlab(40.24, 60.84, -34.91)
CIE-LCHlch(40.24, 70.15, 330.16°)
OKLaboklab(51.11% 0.1734 -0.0962)
OKLCHoklch(51.11% 0.198 331)
XYZxyz(21.2065, 11.3963, 31.2136)
Luminance0.1139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12899 #28A130
analogous
#6D28A1 #A12899 #A1285D
triadic
#A12899 #99A128 #2899A1
tetradic
#A12899 #A16D28 #28A130 #285DA1
square
#A12899 #A16D28 #28A130 #285DA1
split-complementary
#A12899 #5DA128 #28A16D
monochromatic
#3F103C #701C6A #A12899 #CE39C4 #DA6AD2

Accessibility & contrast

On white

6.40
#A12899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A12899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12899
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12899#FFFFFF#000000##FFFFFF
##A128991.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C549C
Deuteranopia (green-blind)
#4E6596
Tritanopia (blue-blind)
#A7375E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a12899;
/* rgb */ color: rgb(161, 40, 153);
/* oklch */ color: oklch(51.1% 0.198 331.0);
Tailwind
colors: {
  custom: {
    50: '#c06fb7',
    500: '#a12899',
    950: '#000000',
  },
}
SCSS
$custom: #a12899;
$custom-light: #c06fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#a12899",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 303.967,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.51106,
    "c": 0.19829,
    "h": 331
  },
  "luminance": 0.11395
}

Semantic roles & 50–950 ramp

primary
#A12899
secondary
#65C06B
accent
#E34F44
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #A12899

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

Preview Lab → · Contrast checker → · Palette generator →

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