#A12DC3#A12DC3

#A12DC3 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.1% C 0.227 H 317.1°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#A12DC3
RGBrgb(161, 45, 195)
HSLhsl(286, 63%, 47%)
HSVhsv(286, 77%, 76%)
CMYKcmyk(17.4%, 76.9%, 0%, 23.5%)
CIE-LABlab(43.35, 66.59, -54.86)
CIE-LCHlch(43.35, 86.28, 320.52°)
OKLaboklab(54.14% 0.1663 -0.1545)
OKLCHoklch(54.14% 0.227 317.1)
XYZxyz(25.4852, 13.3951, 52.8623)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12DC3 #4FC32D
analogous
#562DC3 #A12DC3 #C32D9A
triadic
#A12DC3 #C3A12D #2DC3A1
tetradic
#A12DC3 #C3562D #4FC32D #2D9AC3
square
#A12DC3 #C3562D #4FC32D #2D9AC3
split-complementary
#A12DC3 #9AC32D #2DC356
monochromatic
#4F1660 #782291 #A12DC3 #BA55D8 #CE87E3

Accessibility & contrast

On white

5.71
#A12DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#A12DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12DC3
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12DC3#FFFFFF#000000##FFFFFF
##A12DC31.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#306AC0
Tritanopia (blue-blind)
#9F4E77
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a12dc3;
/* rgb */ color: rgb(161, 45, 195);
/* oklch */ color: oklch(54.1% 0.227 317.1);
Tailwind
colors: {
  custom: {
    50: '#c173d6',
    500: '#a12dc3',
    950: '#000000',
  },
}
SCSS
$custom: #a12dc3;
$custom-light: #c173d6;
$custom-dark: #000000;
JSON
{
  "hex": "#a12dc3",
  "rgb": {
    "r": 161,
    "g": 45,
    "b": 195
  },
  "hsl": {
    "h": 286.4,
    "s": 62.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.54137,
    "c": 0.227,
    "h": 317.1
  },
  "luminance": 0.13394
}

Semantic roles & 50–950 ramp

primary
#A12DC3
secondary
#91CD7F
accent
#E64267
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A12DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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