#A12BB5#A12BB5

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

Color values

HEX#A12BB5
RGBrgb(161, 43, 181)
HSLhsl(291, 62%, 44%)
HSVhsv(291, 76%, 71%)
CMYKcmyk(11%, 76.2%, 0%, 29%)
CIE-LABlab(42.22, 64.65, -48.47)
CIE-LCHlch(42.22, 80.81, 323.14°)
OKLaboklab(53.04% 0.1697 -0.1358)
OKLCHoklch(53.04% 0.217 321.3)
XYZxyz(23.9014, 12.6423, 44.8884)
Luminance0.1264 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12BB5 #3FB52B
analogous
#5C2BB5 #A12BB5 #B52B84
triadic
#A12BB5 #B5A12B #2BB5A1
tetradic
#A12BB5 #B55C2B #3FB52B #2B84B5
square
#A12BB5 #B55C2B #3FB52B #2B84B5
split-complementary
#A12BB5 #84B52B #2BB55C
monochromatic
#491452 #751F84 #A12BB5 #C049D4 #D17BE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A12BB5#FFFFFF#000000##FFFFFF
##A12BB51.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)
#005BB9
Deuteranopia (green-blind)
#3D68B2
Tritanopia (blue-blind)
#A2476F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a12bb5;
/* rgb */ color: rgb(161, 43, 181);
/* oklch */ color: oklch(53.0% 0.217 321.3);
Tailwind
colors: {
  custom: {
    50: '#c172cc',
    500: '#a12bb5',
    950: '#000000',
  },
}
SCSS
$custom: #a12bb5;
$custom-light: #c172cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a12bb5",
  "rgb": {
    "r": 161,
    "g": 43,
    "b": 181
  },
  "hsl": {
    "h": 291.304,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53045,
    "c": 0.21731,
    "h": 321.3
  },
  "luminance": 0.12641
}

Semantic roles & 50–950 ramp

primary
#A12BB5
secondary
#80C874
accent
#E5435B
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A12BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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