#A12CB5#A12CB5

#A12CB5 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.216 H 321.3°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#A12CB5
RGBrgb(161, 44, 181)
HSLhsl(291, 61%, 44%)
HSVhsv(291, 76%, 71%)
CMYKcmyk(11%, 75.7%, 0%, 29%)
CIE-LABlab(42.33, 64.33, -48.29)
CIE-LCHlch(42.33, 80.44, 323.10°)
OKLaboklab(53.13% 0.1688 -0.1352)
OKLCHoklch(53.13% 0.216 321.3)
XYZxyz(23.9382, 12.7159, 44.9006)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12CB5 #40B52C
analogous
#5D2CB5 #A12CB5 #B52C85
triadic
#A12CB5 #B5A12C #2CB5A1
tetradic
#A12CB5 #B55D2C #40B52C #2C85B5
square
#A12CB5 #B55D2C #40B52C #2C85B5
split-complementary
#A12CB5 #85B52C #2CB55D
monochromatic
#491453 #752084 #A12CB5 #BF4BD3 #D17CDF

Accessibility & contrast

On white

5.93
#A12CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#A12CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12CB5
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12CB5#FFFFFF#000000##FFFFFF
##A12CB51.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#3D68B2
Tritanopia (blue-blind)
#A2476F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a12cb5;
/* rgb */ color: rgb(161, 44, 181);
/* oklch */ color: oklch(53.1% 0.216 321.3);
Tailwind
colors: {
  custom: {
    50: '#c172cc',
    500: '#a12cb5',
    950: '#000000',
  },
}
SCSS
$custom: #a12cb5;
$custom-light: #c172cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a12cb5",
  "rgb": {
    "r": 161,
    "g": 44,
    "b": 181
  },
  "hsl": {
    "h": 291.241,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53125,
    "c": 0.21631,
    "h": 321.3
  },
  "luminance": 0.12715
}

Semantic roles & 50–950 ramp

primary
#A12CB5
secondary
#81C875
accent
#E4445B
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A12CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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