#A12CB7#A12CB7

#A12CB7 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.3% C 0.218 H 320.7°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#A12CB7
RGBrgb(161, 44, 183)
HSLhsl(291, 61%, 45%)
HSVhsv(291, 76%, 72%)
CMYKcmyk(12%, 76%, 0%, 28.2%)
CIE-LABlab(42.46, 64.69, -49.27)
CIE-LCHlch(42.46, 81.31, 322.71°)
OKLaboklab(53.26% 0.1686 -0.1381)
OKLCHoklch(53.26% 0.218 320.7)
XYZxyz(24.1449, 12.7986, 45.9892)
Luminance0.1280 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12CB7 #42B72C
analogous
#5C2CB7 #A12CB7 #B72C87
triadic
#A12CB7 #B7A12C #2CB7A1
tetradic
#A12CB7 #B75C2C #42B72C #2C87B7
square
#A12CB7 #B75C2C #42B72C #2C87B7
split-complementary
#A12CB7 #87B72C #2CB75C
monochromatic
#4A1454 #762086 #A12CB7 #BF4CD4 #D07EE0

Accessibility & contrast

On white

5.90
#A12CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#A12CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12CB7
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12CB7#FFFFFF#000000##FFFFFF
##A12CB71.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#3C68B4
Tritanopia (blue-blind)
#A24870
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a12cb7;
/* rgb */ color: rgb(161, 44, 183);
/* oklch */ color: oklch(53.3% 0.218 320.7);
Tailwind
colors: {
  custom: {
    50: '#c172cd',
    500: '#a12cb7',
    950: '#000000',
  },
}
SCSS
$custom: #a12cb7;
$custom-light: #c172cd;
$custom-dark: #000000;
JSON
{
  "hex": "#a12cb7",
  "rgb": {
    "r": 161,
    "g": 44,
    "b": 183
  },
  "hsl": {
    "h": 290.504,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53255,
    "c": 0.21796,
    "h": 320.7
  },
  "luminance": 0.12797
}

Semantic roles & 50–950 ramp

primary
#A12CB7
secondary
#83C876
accent
#E4435D
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A12CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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