#A12EC0#A12EC0

#A12EC0 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.0% C 0.223 H 317.9°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#A12EC0
RGBrgb(161, 46, 192)
HSLhsl(287, 61%, 47%)
HSVhsv(287, 76%, 75%)
CMYKcmyk(16.1%, 76%, 0%, 24.7%)
CIE-LABlab(43.27, 65.69, -53.24)
CIE-LCHlch(43.27, 84.56, 320.98°)
OKLaboklab(54.01% 0.1659 -0.1498)
OKLCHoklch(54.01% 0.223 317.9)
XYZxyz(25.1880, 13.3380, 51.1067)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12EC0 #4DC02E
analogous
#582EC0 #A12EC0 #C02E96
triadic
#A12EC0 #C0A12E #2EC0A1
tetradic
#A12EC0 #C0582E #4DC02E #2E96C0
square
#A12EC0 #C0582E #4DC02E #2E96C0
split-complementary
#A12EC0 #96C02E #2EC058
monochromatic
#4E165D #78228F #A12EC0 #BB55D6 #CF86E2

Accessibility & contrast

On white

5.73
#A12EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#A12EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12EC0
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12EC0#FFFFFF#000000##FFFFFF
##A12EC01.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC4
Deuteranopia (green-blind)
#346ABD
Tritanopia (blue-blind)
#A04E76
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a12ec0;
/* rgb */ color: rgb(161, 46, 192);
/* oklch */ color: oklch(54.0% 0.223 317.9);
Tailwind
colors: {
  custom: {
    50: '#c173d4',
    500: '#a12ec0',
    950: '#000000',
  },
}
SCSS
$custom: #a12ec0;
$custom-light: #c173d4;
$custom-dark: #000000;
JSON
{
  "hex": "#a12ec0",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 192
  },
  "hsl": {
    "h": 287.26,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54014,
    "c": 0.22348,
    "h": 317.9
  },
  "luminance": 0.13337
}

Semantic roles & 50–950 ramp

primary
#A12EC0
secondary
#8FCC7E
accent
#E44366
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A12EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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