#A12FBC#A12FBC

#A12FBC is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.8% C 0.219 H 319.1°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#A12FBC
RGBrgb(161, 47, 188)
HSLhsl(289, 60%, 46%)
HSVhsv(289, 75%, 74%)
CMYKcmyk(14.4%, 75%, 0%, 26.3%)
CIE-LABlab(43.13, 64.61, -51.13)
CIE-LCHlch(43.13, 82.39, 321.64°)
OKLaboklab(53.83% 0.1655 -0.1436)
OKLCHoklch(53.83% 0.219 319.1)
XYZxyz(24.7904, 13.2421, 48.8174)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12FBC #4ABC2F
analogous
#5B2FBC #A12FBC #BC2F90
triadic
#A12FBC #BCA12F #2FBCA1
tetradic
#A12FBC #BC5B2F #4ABC2F #2F90BC
square
#A12FBC #BC5B2F #4ABC2F #2F90BC
split-complementary
#A12FBC #90BC2F #2FBC5B
monochromatic
#4D175A #77238B #A12FBC #BC54D4 #CF85E0

Accessibility & contrast

On white

5.76
#A12FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#A12FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12FBC
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12FBC#FFFFFF#000000##FFFFFF
##A12FBC1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#396AB9
Tritanopia (blue-blind)
#A14C74
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a12fbc;
/* rgb */ color: rgb(161, 47, 188);
/* oklch */ color: oklch(53.8% 0.219 319.1);
Tailwind
colors: {
  custom: {
    50: '#c174d1',
    500: '#a12fbc',
    950: '#000000',
  },
}
SCSS
$custom: #a12fbc;
$custom-light: #c174d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a12fbc",
  "rgb": {
    "r": 161,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 288.511,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5383,
    "c": 0.21908,
    "h": 319.1
  },
  "luminance": 0.13241
}

Semantic roles & 50–950 ramp

primary
#A12FBC
secondary
#8CCA7D
accent
#E34563
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A12FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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