#A12FB5#A12FB5

#A12FB5 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.4% C 0.213 H 321.2°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#A12FB5
RGBrgb(161, 47, 181)
HSLhsl(291, 59%, 45%)
HSVhsv(291, 74%, 71%)
CMYKcmyk(11%, 74%, 0%, 29%)
CIE-LABlab(42.68, 63.32, -47.73)
CIE-LCHlch(42.68, 79.29, 322.99°)
OKLaboklab(53.38% 0.1661 -0.1336)
OKLCHoklch(53.38% 0.213 321.2)
XYZxyz(24.0540, 12.9476, 44.9392)
Luminance0.1295 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12FB5 #43B52F
analogous
#5E2FB5 #A12FB5 #B52F86
triadic
#A12FB5 #B5A12F #2FB5A1
tetradic
#A12FB5 #B55E2F #43B52F #2F86B5
square
#A12FB5 #B55E2F #43B52F #2F86B5
split-complementary
#A12FB5 #86B52F #2FB55E
monochromatic
#4B1654 #762284 #A12FB5 #BE50D1 #D080DE

Accessibility & contrast

On white

5.85
#A12FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#A12FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12FB5
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12FB5#FFFFFF#000000##FFFFFF
##A12FB51.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#3F69B2
Tritanopia (blue-blind)
#A24970
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #a12fb5;
/* rgb */ color: rgb(161, 47, 181);
/* oklch */ color: oklch(53.4% 0.213 321.2);
Tailwind
colors: {
  custom: {
    50: '#c173cc',
    500: '#a12fb5',
    950: '#000000',
  },
}
SCSS
$custom: #a12fb5;
$custom-light: #c173cc;
$custom-dark: #000000;
JSON
{
  "hex": "#a12fb5",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 291.045,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.53376,
    "c": 0.21318,
    "h": 321.2
  },
  "luminance": 0.12946
}

Semantic roles & 50–950 ramp

primary
#A12FB5
secondary
#84C779
accent
#E2465D
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130913
muted
#827B82

Preview Lab

Preview with #A12FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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