#A12CB3#A12CB3

#A12CB3 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.0% C 0.215 H 321.9°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#A12CB3
RGBrgb(161, 44, 179)
HSLhsl(292, 61%, 44%)
HSVhsv(292, 75%, 70%)
CMYKcmyk(10.1%, 75.4%, 0%, 29.8%)
CIE-LABlab(42.21, 63.97, -47.31)
CIE-LCHlch(42.21, 79.56, 323.51°)
OKLaboklab(53% 0.169 -0.1324)
OKLCHoklch(53% 0.215 321.9)
XYZxyz(23.7344, 12.6345, 43.8276)
Luminance0.1263 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12CB3 #3EB32C
analogous
#5D2CB3 #A12CB3 #B32C81
triadic
#A12CB3 #B3A12C #2CB3A1
tetradic
#A12CB3 #B35D2C #3EB32C #2C81B3
square
#A12CB3 #B35D2C #3EB32C #2C81B3
split-complementary
#A12CB3 #81B32C #2CB35D
monochromatic
#491451 #752082 #A12CB3 #C04AD2 #D17BDF

Accessibility & contrast

On white

5.95
#A12CB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#A12CB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12CB3
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12CB3#FFFFFF#000000##FFFFFF
##A12CB31.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#3F68B0
Tritanopia (blue-blind)
#A3466E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a12cb3;
/* rgb */ color: rgb(161, 44, 179);
/* oklch */ color: oklch(53.0% 0.215 321.9);
Tailwind
colors: {
  custom: {
    50: '#c172ca',
    500: '#a12cb3',
    950: '#000000',
  },
}
SCSS
$custom: #a12cb3;
$custom-light: #c172ca;
$custom-dark: #000000;
JSON
{
  "hex": "#a12cb3",
  "rgb": {
    "r": 161,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 292,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52997,
    "c": 0.21466,
    "h": 321.9
  },
  "luminance": 0.12633
}

Semantic roles & 50–950 ramp

primary
#A12CB3
secondary
#7FC774
accent
#E44459
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A12CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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