#A12CBE#A12CBE

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

Color values

HEX#A12CBE
RGBrgb(161, 44, 190)
HSLhsl(288, 62%, 46%)
HSVhsv(288, 77%, 75%)
CMYKcmyk(15.3%, 76.8%, 0%, 25.5%)
CIE-LABlab(42.91, 65.98, -52.65)
CIE-LCHlch(42.91, 84.41, 321.41°)
OKLaboklab(53.72% 0.1678 -0.148)
OKLCHoklch(53.72% 0.224 318.6)
XYZxyz(24.8916, 13.0973, 49.9221)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12CBE #49BE2C
analogous
#582CBE #A12CBE #BE2C92
triadic
#A12CBE #BEA12C #2CBEA1
tetradic
#A12CBE #BE582C #49BE2C #2C92BE
square
#A12CBE #BE582C #49BE2C #2C92BE
split-complementary
#A12CBE #92BE2C #2CBE58
monochromatic
#4D155B #77208C #A12CBE #BC51D7 #CF82E2

Accessibility & contrast

On white

5.80
#A12CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#A12CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12CBE
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12CBE#FFFFFF#000000##FFFFFF
##A12CBE1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#3569BB
Tritanopia (blue-blind)
#A04C74
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a12cbe;
/* rgb */ color: rgb(161, 44, 190);
/* oklch */ color: oklch(53.7% 0.224 318.6);
Tailwind
colors: {
  custom: {
    50: '#c172d2',
    500: '#a12cbe',
    950: '#000000',
  },
}
SCSS
$custom: #a12cbe;
$custom-light: #c172d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a12cbe",
  "rgb": {
    "r": 161,
    "g": 44,
    "b": 190
  },
  "hsl": {
    "h": 288.082,
    "s": 62.393,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53718,
    "c": 0.22377,
    "h": 318.6
  },
  "luminance": 0.13096
}

Semantic roles & 50–950 ramp

primary
#A12CBE
secondary
#8BCB7B
accent
#E54263
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A12CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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