#A12AA2#A12AA2

#A12AA2 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.8% C 0.203 H 327.7°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#A12AA2
RGBrgb(161, 42, 162)
HSLhsl(300, 59%, 40%)
HSVhsv(300, 74%, 64%)
CMYKcmyk(0.6%, 74.1%, 0%, 36.5%)
CIE-LABlab(40.97, 61.67, -39.18)
CIE-LCHlch(40.97, 73.06, 327.57°)
OKLaboklab(51.79% 0.1716 -0.1086)
OKLCHoklch(51.79% 0.203 327.7)
XYZxyz(22.0472, 11.8432, 35.3002)
Luminance0.1184 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12AA2 #2BA22A
analogous
#652AA2 #A12AA2 #A22A67
triadic
#A12AA2 #A2A12A #2AA2A1
tetradic
#A12AA2 #A2652A #2BA22A #2A67A2
square
#A12AA2 #A2652A #2BA22A #2A67A2
split-complementary
#A12AA2 #67A22A #2AA265
monochromatic
#401141 #711D71 #A12AA2 #CB3DCD #D86DD9

Accessibility & contrast

On white

6.23
#A12AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A12AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12AA2
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12AA2#FFFFFF#000000##FFFFFF
##A12AA21.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F57A5
Deuteranopia (green-blind)
#4A669F
Tritanopia (blue-blind)
#A63D64
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a12aa2;
/* rgb */ color: rgb(161, 42, 162);
/* oklch */ color: oklch(51.8% 0.203 327.7);
Tailwind
colors: {
  custom: {
    50: '#c070be',
    500: '#a12aa2',
    950: '#000000',
  },
}
SCSS
$custom: #a12aa2;
$custom-light: #c070be;
$custom-dark: #000000;
JSON
{
  "hex": "#a12aa2",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 299.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.51787,
    "c": 0.20309,
    "h": 327.7
  },
  "luminance": 0.11842
}

Semantic roles & 50–950 ramp

primary
#A12AA2
secondary
#69C068
accent
#E24647
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #A12AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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