#A12EA7#A12EA7

#A12EA7 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.4% C 0.203 H 325.8°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#A12EA7
RGBrgb(161, 46, 167)
HSLhsl(297, 57%, 42%)
HSVhsv(297, 72%, 65%)
CMYKcmyk(3.6%, 72.5%, 0%, 34.5%)
CIE-LABlab(41.72, 61.18, -40.96)
CIE-LCHlch(41.72, 73.62, 326.19°)
OKLaboklab(52.42% 0.1678 -0.1138)
OKLCHoklch(52.42% 0.203 325.8)
XYZxyz(22.6495, 12.3226, 37.7373)
Luminance0.1232 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12EA7 #34A72E
analogous
#652EA7 #A12EA7 #A72E71
triadic
#A12EA7 #A7A12E #2EA7A1
tetradic
#A12EA7 #A7652E #34A72E #2E71A7
square
#A12EA7 #A7652E #34A72E #2E71A7
split-complementary
#A12EA7 #71A72E #2EA765
monochromatic
#441447 #732177 #A12EA7 #C546CC #D476D9

Accessibility & contrast

On white

6.06
#A12EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#A12EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12EA7
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12EA7#FFFFFF#000000##FFFFFF
##A12EA71.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D59AA
Deuteranopia (green-blind)
#4967A4
Tritanopia (blue-blind)
#A54268
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a12ea7;
/* rgb */ color: rgb(161, 46, 167);
/* oklch */ color: oklch(52.4% 0.203 325.8);
Tailwind
colors: {
  custom: {
    50: '#c072c2',
    500: '#a12ea7',
    950: '#000000',
  },
}
SCSS
$custom: #a12ea7;
$custom-light: #c072c2;
$custom-dark: #000000;
JSON
{
  "hex": "#a12ea7",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 167
  },
  "hsl": {
    "h": 297.025,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52422,
    "c": 0.20274,
    "h": 325.8
  },
  "luminance": 0.12321
}

Semantic roles & 50–950 ramp

primary
#A12EA7
secondary
#74C170
accent
#E0484F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81

Preview Lab

Preview with #A12EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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