#A12BC3#A12BC3

#A12BC3 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 54.0% C 0.229 H 317.2°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#A12BC3
RGBrgb(161, 43, 195)
HSLhsl(287, 64%, 47%)
HSVhsv(287, 78%, 76%)
CMYKcmyk(17.4%, 77.9%, 0%, 23.5%)
CIE-LABlab(43.13, 67.23, -55.21)
CIE-LCHlch(43.13, 86.99, 320.60°)
OKLaboklab(53.98% 0.168 -0.1555)
OKLCHoklch(53.98% 0.229 317.2)
XYZxyz(25.4107, 13.2461, 52.8374)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12BC3 #4DC32B
analogous
#552BC3 #A12BC3 #C32B99
triadic
#A12BC3 #C3A12B #2BC3A1
tetradic
#A12BC3 #C3552B #4DC32B #2B99C3
square
#A12BC3 #C3552B #4DC32B #2B99C3
split-complementary
#A12BC3 #99C32B #2BC355
monochromatic
#4E155F #782091 #A12BC3 #BB52D9 #CF84E4

Accessibility & contrast

On white

5.76
#A12BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A12BC3
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12BC3#FFFFFF#000000##FFFFFF
##A12BC31.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#2E69C0
Tritanopia (blue-blind)
#9F4D77
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a12bc3;
/* rgb */ color: rgb(161, 43, 195);
/* oklch */ color: oklch(54.0% 0.229 317.2);
Tailwind
colors: {
  custom: {
    50: '#c172d6',
    500: '#a12bc3',
    950: '#000000',
  },
}
SCSS
$custom: #a12bc3;
$custom-light: #c172d6;
$custom-dark: #000000;
JSON
{
  "hex": "#a12bc3",
  "rgb": {
    "r": 161,
    "g": 43,
    "b": 195
  },
  "hsl": {
    "h": 286.579,
    "s": 63.866,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53981,
    "c": 0.2289,
    "h": 317.2
  },
  "luminance": 0.13245
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A12BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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