#A12CBD#A12CBD

#A12CBD is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.223 H 318.9°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#A12CBD
RGBrgb(161, 44, 189)
HSLhsl(288, 62%, 46%)
HSVhsv(288, 77%, 74%)
CMYKcmyk(14.8%, 76.7%, 0%, 25.9%)
CIE-LABlab(42.84, 65.79, -52.17)
CIE-LCHlch(42.84, 83.97, 321.59°)
OKLaboklab(53.65% 0.168 -0.1466)
OKLCHoklch(53.65% 0.223 318.9)
XYZxyz(24.7827, 13.0538, 49.3485)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12CBD #48BD2C
analogous
#582CBD #A12CBD #BD2C90
triadic
#A12CBD #BDA12C #2CBDA1
tetradic
#A12CBD #BD582C #48BD2C #2C90BD
square
#A12CBD #BD582C #48BD2C #2C90BD
split-complementary
#A12CBD #90BD2C #2CBD58
monochromatic
#4C155A #77208B #A12CBD #BC50D6 #CF82E2

Accessibility & contrast

On white

5.82
#A12CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#A12CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12CBD
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12CBD#FFFFFF#000000##FFFFFF
##A12CBD1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#3669BA
Tritanopia (blue-blind)
#A14B74
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a12cbd;
/* rgb */ color: rgb(161, 44, 189);
/* oklch */ color: oklch(53.7% 0.223 318.9);
Tailwind
colors: {
  custom: {
    50: '#c172d2',
    500: '#a12cbd',
    950: '#000000',
  },
}
SCSS
$custom: #a12cbd;
$custom-light: #c172d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a12cbd",
  "rgb": {
    "r": 161,
    "g": 44,
    "b": 189
  },
  "hsl": {
    "h": 288.414,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53651,
    "c": 0.22294,
    "h": 318.9
  },
  "luminance": 0.13053
}

Semantic roles & 50–950 ramp

primary
#A12CBD
secondary
#8ACB7A
accent
#E54262
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A12CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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