#A12BC4#A12BC4

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

Color values

HEX#A12BC4
RGBrgb(161, 43, 196)
HSLhsl(286, 64%, 47%)
HSVhsv(286, 78%, 77%)
CMYKcmyk(17.9%, 78.1%, 0%, 23.1%)
CIE-LABlab(43.20, 67.41, -55.69)
CIE-LCHlch(43.20, 87.44, 320.44°)
OKLaboklab(54.05% 0.1678 -0.1569)
OKLCHoklch(54.05% 0.23 316.9)
XYZxyz(25.5241, 13.2914, 53.4349)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12BC4 #4EC42B
analogous
#552BC4 #A12BC4 #C42B9A
triadic
#A12BC4 #C4A12B #2BC4A1
tetradic
#A12BC4 #C4552B #4EC42B #2B9AC4
square
#A12BC4 #C4552B #4EC42B #2B9AC4
split-complementary
#A12BC4 #9AC42B #2BC455
monochromatic
#4F1560 #782092 #A12BC4 #BB53D9 #CF85E4

Accessibility & contrast

On white

5.74
#A12BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#A12BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12BC4
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12BC4#FFFFFF#000000##FFFFFF
##A12BC41.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#2D69C1
Tritanopia (blue-blind)
#9F4E78
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a12bc4;
/* rgb */ color: rgb(161, 43, 196);
/* oklch */ color: oklch(54.0% 0.230 316.9);
Tailwind
colors: {
  custom: {
    50: '#c172d7',
    500: '#a12bc4',
    950: '#000000',
  },
}
SCSS
$custom: #a12bc4;
$custom-light: #c172d7;
$custom-dark: #000000;
JSON
{
  "hex": "#a12bc4",
  "rgb": {
    "r": 161,
    "g": 43,
    "b": 196
  },
  "hsl": {
    "h": 286.275,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5405,
    "c": 0.22973,
    "h": 316.9
  },
  "luminance": 0.1329
}

Semantic roles & 50–950 ramp

primary
#A12BC4
secondary
#90CE7D
accent
#E74167
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A12BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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