#A12CC2#A12CC2

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

Color values

HEX#A12CC2
RGBrgb(161, 44, 194)
HSLhsl(287, 63%, 47%)
HSVhsv(287, 77%, 76%)
CMYKcmyk(17%, 77.3%, 0%, 23.9%)
CIE-LABlab(43.17, 66.72, -54.56)
CIE-LCHlch(43.17, 86.19, 320.73°)
OKLaboklab(53.99% 0.1673 -0.1536)
OKLCHoklch(53.99% 0.227 317.4)
XYZxyz(25.3348, 13.2746, 52.2562)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12CC2 #4DC22C
analogous
#562CC2 #A12CC2 #C22C98
triadic
#A12CC2 #C2A12C #2CC2A1
tetradic
#A12CC2 #C2562C #4DC22C #2C98C2
square
#A12CC2 #C2562C #4DC22C #2C98C2
split-complementary
#A12CC2 #98C22C #2CC256
monochromatic
#4E155E #782190 #A12CC2 #BB53D8 #CF85E3

Accessibility & contrast

On white

5.75
#A12CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#A12CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12CC2
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12CC2#FFFFFF#000000##FFFFFF
##A12CC21.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#3069BF
Tritanopia (blue-blind)
#9F4D77
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a12cc2;
/* rgb */ color: rgb(161, 44, 194);
/* oklch */ color: oklch(54.0% 0.227 317.4);
Tailwind
colors: {
  custom: {
    50: '#c173d5',
    500: '#a12cc2',
    950: '#000000',
  },
}
SCSS
$custom: #a12cc2;
$custom-light: #c173d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a12cc2",
  "rgb": {
    "r": 161,
    "g": 44,
    "b": 194
  },
  "hsl": {
    "h": 286.8,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53989,
    "c": 0.22712,
    "h": 317.4
  },
  "luminance": 0.13273
}

Semantic roles & 50–950 ramp

primary
#A12CC2
secondary
#8FCD7D
accent
#E64266
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A12CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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